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

24 lines
819 B
Nix
Raw Normal View History

2021-01-17 03:51:22 +00:00
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, boost, libgcrypt, systemd, mpd_clientlib, curl }:
2015-03-14 10:47:11 +00:00
stdenv.mkDerivation rec {
pname = "mpdscribble";
2020-09-09 14:29:05 +01:00
version = "0.23";
2015-03-14 10:47:11 +00:00
src = fetchurl {
url =
2020-09-09 14:29:05 +01:00
"https://www.musicpd.org/download/mpdscribble/${version}/mpdscribble-${version}.tar.xz";
sha256 = "0s66zqscb44p88cl3kcv5jkjcqsskcnrv7xgrjhzrchf2kcpwf53";
2015-03-14 10:47:11 +00:00
};
2021-01-17 03:51:22 +00:00
nativeBuildInputs = [ meson ninja pkg-config ];
2020-09-09 14:29:05 +01:00
buildInputs = [ mpd_clientlib curl boost libgcrypt systemd ];
2015-03-14 10:47:11 +00:00
meta = with lib; {
2020-09-09 14:29:05 +01:00
description = "A Music Player Daemon (MPD) client which submits information about tracks being played to a scrobbler (e.g. last.fm)";
homepage = "https://www.musicpd.org/clients/mpdscribble/";
2015-03-14 10:47:11 +00:00
license = licenses.gpl2;
2020-09-09 14:29:05 +01:00
maintainers = [ maintainers.sohalt ];
platforms = platforms.linux;
2015-03-14 10:47:11 +00:00
};
}