3
0
Fork 0
forked from mirrors/nixpkgs

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 22:28:53 +01:00 committed by Jörg Thalheim
parent 44cb95a234
commit 1f5c2833e9
3 changed files with 30 additions and 0 deletions

View file

@ -614,6 +614,7 @@
sztupi = "Attila Sztupak <attila.sztupak@gmail.com>";
taeer = "Taeer Bar-Yam <taeer@necsi.edu>";
tailhook = "Paul Colomiets <paul@colomiets.name>";
taketwo = "Sergey Alexandrov <alexandrov88@gmail.com>";
takikawa = "Asumu Takikawa <asumu@igalia.com>";
taktoa = "Remy Goldschmidt <taktoa@gmail.com>";
taku0 = "Takuo Yonezawa <mxxouy6x3m_github@tatapa.org>";

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;
};
}

View file

@ -1158,6 +1158,8 @@ with pkgs;
mp3fs = callPackage ../tools/filesystems/mp3fs { };
mpdas = callPackage ../tools/audio/mpdas { };
mpdcron = callPackage ../tools/audio/mpdcron { };
mpdris2 = callPackage ../tools/audio/mpdris2 { };