mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 08:39:08 +03:00
Add package: mpdscribble
This commit is contained in:
parent
9c4cbaa553
commit
5078d49248
26
pkgs/tools/misc/mpdscribble/default.nix
Normal file
26
pkgs/tools/misc/mpdscribble/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user