nixpkgs/pkgs/tools/audio/mpdas/default.nix
Sergey Alexandrov 1f5c2833e9 mpdas: init at 0.4.4 (#31398)
* mpdas: init at 0.4.4

* mpdas: read config from /etc instead from nix store
2017-11-08 21:28:53 +00:00

28 lines
673 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, mpd_clientlib, curl }:
stdenv.mkDerivation rec {
name = "mpdas-${version}";
version = "0.4.4";
src = fetchFromGitHub {
owner = "hrkfdn";
repo = "mpdas";
rev = version;
sha256 = "1i6i36jd582y3nm5plcrswqljf528hd23whp8zw06hwqnsgca5b6";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ mpd_clientlib curl ];
makeFlags = [ "CONFIG=/etc" "DESTDIR=" "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "Music Player Daemon AudioScrobbler";
homepage = http://50hz.ws/mpdas/;
license = licenses.bsd3;
maintainers = [ maintainers.taketwo ];
platforms = platforms.all;
};
}