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