diff options
author | Sergey Alexandrov <alexandrov88@gmail.com> | 2017-11-08 22:28:53 +0100 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-11-08 21:28:53 +0000 |
commit | 1f5c2833e945fb8999a75a1e0f1a0b1a920186d7 (patch) | |
tree | 320525081e2ed66ae8d448090c1ea22398ca0531 /pkgs/tools/audio | |
parent | 44cb95a23460707cb100720c23aae6e497177268 (diff) | |
download | nixlib-1f5c2833e945fb8999a75a1e0f1a0b1a920186d7.tar nixlib-1f5c2833e945fb8999a75a1e0f1a0b1a920186d7.tar.gz nixlib-1f5c2833e945fb8999a75a1e0f1a0b1a920186d7.tar.bz2 nixlib-1f5c2833e945fb8999a75a1e0f1a0b1a920186d7.tar.lz nixlib-1f5c2833e945fb8999a75a1e0f1a0b1a920186d7.tar.xz nixlib-1f5c2833e945fb8999a75a1e0f1a0b1a920186d7.tar.zst nixlib-1f5c2833e945fb8999a75a1e0f1a0b1a920186d7.zip |
mpdas: init at 0.4.4 (#31398)
* mpdas: init at 0.4.4 * mpdas: read config from /etc instead from nix store
Diffstat (limited to 'pkgs/tools/audio')
-rw-r--r-- | pkgs/tools/audio/mpdas/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/audio/mpdas/default.nix b/pkgs/tools/audio/mpdas/default.nix new file mode 100644 index 000000000000..70ae1f846430 --- /dev/null +++ b/pkgs/tools/audio/mpdas/default.nix @@ -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; + }; +} |