nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchurl, mpd_clientlib, curl, glib, pkgconfig }:
2
3stdenv.mkDerivation rec {
4 pname = "mpdscribble";
5 version = "0.22";
6
7 src = fetchurl {
8 url =
9 "https://www.musicpd.org/download/mpdscribble/${version}/mpdscribble-${version}.tar.bz2";
10 sha256 = "0hgb7xh3w455m00lpldwkyrc5spjn3q1pl2ry3kf7w3hiigjpphw";
11 };
12
13 nativeBuildInputs = [ pkgconfig ];
14 buildInputs = [ mpd_clientlib curl glib ];
15
16 meta = with stdenv.lib; {
17 description = "A Music Player Daemon (MPD) client which submits information about tracks beeing played to a scrobbler (e.g. last.fm)";
18 homepage = "https://www.musicpd.org/clients/mpdscribble/";
19 license = licenses.gpl2;
20 maintainers = [ maintainers.matthiasbeyer ];
21 platforms = platforms.linux;
22 };
23}