nixpkgs/pkgs/tools/misc/mpdscribble/default.nix

40 lines
805 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, pkg-config
, meson
, ninja
, boost
, curl
, libgcrypt
, libmpdclient
, systemd
}:
2015-03-14 10:47:11 +00:00
stdenv.mkDerivation rec {
pname = "mpdscribble";
2020-09-09 13:29:05 +00:00
version = "0.23";
2015-03-14 10:47:11 +00:00
src = fetchurl {
url = "https://www.musicpd.org/download/mpdscribble/${version}/mpdscribble-${version}.tar.xz";
2020-09-09 13:29:05 +00:00
sha256 = "0s66zqscb44p88cl3kcv5jkjcqsskcnrv7xgrjhzrchf2kcpwf53";
2015-03-14 10:47:11 +00:00
};
nativeBuildInputs = [ pkg-config meson ninja ];
buildInputs = [
libmpdclient
curl
boost
libgcrypt
systemd
];
2015-03-14 10:47:11 +00:00
meta = with lib; {
description = "A MPD client which submits info about tracks being played to a scrobbler";
homepage = "https://www.musicpd.org/clients/mpdscribble/";
license = licenses.gpl2Plus;
2020-09-09 13:29:05 +00:00
maintainers = [ maintainers.sohalt ];
platforms = platforms.linux;
2015-03-14 10:47:11 +00:00
};
}