mpdas: init at 0.4.4 (#31398)

* mpdas: init at 0.4.4

* mpdas: read config from /etc instead from nix store
This commit is contained in:
Sergey Alexandrov
2017-11-08 21:28:53 +00:00
committed by Jörg Thalheim
parent 44cb95a234
commit 1f5c2833e9
3 changed files with 30 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
{ 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;
};
}