1{ lib
2, stdenv
3, fetchurl
4, pkg-config
5, meson
6, ninja
7, boost
8, curl
9, libgcrypt
10, libmpdclient
11, systemd
12}:
13
14stdenv.mkDerivation rec {
15 pname = "mpdscribble";
16 version = "0.24";
17
18 src = fetchurl {
19 url = "https://www.musicpd.org/download/mpdscribble/${version}/mpdscribble-${version}.tar.xz";
20 sha256 = "sha256-9rTLp0izuH5wUnC0kjyOI+lMLgD+3VC+sUaNvi+yqOc=";
21 };
22
23 nativeBuildInputs = [ pkg-config meson ninja ];
24 buildInputs = [
25 libmpdclient
26 curl
27 boost
28 libgcrypt
29 systemd
30 ];
31
32 meta = with lib; {
33 description = "A MPD client which submits info about tracks being played to a scrobbler";
34 homepage = "https://www.musicpd.org/clients/mpdscribble/";
35 license = licenses.gpl2Plus;
36 maintainers = [ maintainers.sohalt ];
37 platforms = platforms.linux;
38 };
39}