nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 751 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 pkg-config, 6 libmpdclient, 7 curl, 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 pname = "mpdas"; 12 version = "0.4.5"; 13 14 src = fetchFromGitHub { 15 owner = "hrkfdn"; 16 repo = "mpdas"; 17 rev = finalAttrs.version; 18 sha256 = "0fcqc4w6iwbi1n3cllcgj0k61zffhqkbr8668myxap21m35x8y1r"; 19 }; 20 21 nativeBuildInputs = [ pkg-config ]; 22 23 buildInputs = [ 24 libmpdclient 25 curl 26 ]; 27 28 makeFlags = [ 29 "CONFIG=/etc" 30 "DESTDIR=" 31 "PREFIX=$(out)" 32 ]; 33 34 meta = { 35 description = "Music Player Daemon AudioScrobbler"; 36 homepage = "https://50hz.ws/mpdas/"; 37 license = lib.licenses.bsd3; 38 maintainers = [ lib.maintainers.taketwo ]; 39 platforms = lib.platforms.all; 40 mainProgram = "mpdas"; 41 }; 42})