Add package: mpdscribble

This commit is contained in:
Matthias Beyer 2015-03-14 11:47:11 +01:00 committed by Mateusz Kowalczyk
parent 9c4cbaa553
commit 5078d49248
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, fetchurl, mpd_clientlib, curl, glib, pkgconfig }:
stdenv.mkDerivation rec {
name = "mpdscribble-${version}";
version = "0.22";
src = fetchurl {
url =
"http://www.musicpd.org/download/mpdscribble/${version}/mpdscribble-${version}.tar.bz2";
sha256 = "0hgb7xh3w455m00lpldwkyrc5spjn3q1pl2ry3kf7w3hiigjpphw";
};
buildInputs = [ mpd_clientlib curl glib pkgconfig ];
preConfigure = ''
export LIBMPDCLIENT_LIBS=${mpd_clientlib}/lib/libmpdclient.so.${mpd_clientlib.majorVersion}.0.${mpd_clientlib.minorVersion}
export LIBMPDCLIENT_CFLAGS=${mpd_clientlib}
'';
meta = with stdenv.lib; {
description = "A Music Player Daemon (MPD) client which submits information about tracks beeing played to a scrobbler (e.g. last.fm)";
homepage = http://mpd.wikia.com/wiki/Client:mpdscribble;
license = licenses.gpl2;
maintainers = [ maintainers.matthiasbeyer ];
};
}

View File

@ -8189,6 +8189,8 @@ let
mpd_clientlib = callPackage ../servers/mpd/clientlib.nix { };
mpdscribble = callPackage ../tools/misc/mpdscribble { };
miniHttpd = callPackage ../servers/http/mini-httpd {};
mlmmj = callPackage ../servers/mail/mlmmj { };