aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/misc/mpdscribble/default.nix
blob: 49f9c6bc031363f7bd219733cecb29035ae5ca65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchurl, mpd_clientlib, curl, glib, pkgconfig }:

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

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

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ mpd_clientlib curl glib ];

  meta = with stdenv.lib; {
    description = "A Music Player Daemon (MPD) client which submits information about tracks beeing played to a scrobbler (e.g. last.fm)";
    homepage = "https://www.musicpd.org/clients/mpdscribble/";
    license = licenses.gpl2;
    maintainers = [ maintainers.matthiasbeyer ];
    platforms = platforms.linux;
  };
}