nixpkgs-suyu/pkgs/tools/misc/mpdscribble/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

23 lines
760 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;
};
}