nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (729B)


      1 { lib, stdenv, fetchFromGitHub, bmake, pkg-config, libbsd, imsg-compat, sndio, libevent, flac, mpg123, libvorbis, opusfile }:
      2 
      3 stdenv.mkDerivation rec {
      4   pname = "amused";
      5   version = "0.10";
      6 
      7   src = fetchFromGitHub {
      8     owner = "omar-polo";
      9     repo = "amused";
     10     rev = version;
     11     hash = "sha256-A2f37oI3BT30bqRYgoWy4B1dvPeZBoE4F3lkmET0td8=";
     12   };
     13 
     14   nativeBuildInputs = [ bmake pkg-config ];
     15 
     16   buildInputs = [ libbsd libevent imsg-compat sndio flac mpg123 libvorbis opusfile ];
     17 
     18   meta = with lib; {
     19     description = "music player daemon NIH";
     20     inherit (src.meta) homepage;
     21     license = licenses.isc;
     22     maintainers = [ maintainers.sikmir ];
     23     platforms = platforms.linux;
     24     skip.ci = stdenv.isDarwin;
     25   };
     26 }