nixpkgs/pkgs/tools/misc/mpdscribble/default.nix
2020-04-10 17:54:53 +01:00

23 lines
762 B
Nix

{ stdenv, fetchurl, mpd_clientlib, curl, glib, pkgconfig }:
stdenv.mkDerivation rec {
pname = "mpdscribble";
version = "0.22";
src = fetchurl {
url =
"https://www.musicpd.org/download/mpdscribble/${version}/mpdscribble-${version}.tar.bz2";
sha256 = "0hgb7xh3w455m00lpldwkyrc5spjn3q1pl2ry3kf7w3hiigjpphw";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ mpd_clientlib curl glib ];
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 = "https://www.musicpd.org/clients/mpdscribble/";
license = licenses.gpl2;
maintainers = [ maintainers.matthiasbeyer ];
platforms = platforms.linux;
};
}