about summary refs log tree commit diff
path: root/pkgs/tools/misc/mpdscribble/default.nix
blob: 6913f1c11fdf04439e3f6ff6703f823cc69b4fad (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
{ stdenv, fetchurl, mpd_clientlib, curl, glib, pkgconfig }:

stdenv.mkDerivation rec {
  name = "mpdscribble-${version}";
  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 = http://mpd.wikia.com/wiki/Client:mpdscribble;
    license = licenses.gpl2;
    maintainers = [ ];
    platforms = platforms.linux;
  };
}