summary refs log tree commit diff
path: root/pkgs/tools/misc/mpdscribble/default.nix
blob: fce376bb32ede9016b1c31a2730a5ae741c91687 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ lib
, stdenv
, fetchurl
, pkg-config
, meson
, ninja
, boost
, curl
, libgcrypt
, libmpdclient
, systemd
}:

stdenv.mkDerivation rec {
  pname = "mpdscribble";
  version = "0.23";

  src = fetchurl {
    url = "https://www.musicpd.org/download/mpdscribble/${version}/mpdscribble-${version}.tar.xz";
    sha256 = "0s66zqscb44p88cl3kcv5jkjcqsskcnrv7xgrjhzrchf2kcpwf53";
  };

  nativeBuildInputs = [ pkg-config meson ninja ];
  buildInputs = [
    libmpdclient
    curl
    boost
    libgcrypt
    systemd
  ];

  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;
    maintainers = [ maintainers.sohalt ];
    platforms = platforms.linux;
  };
}