2017-11-08 22:28:53 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, mpd_clientlib, curl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "mpdas";
|
2018-02-27 15:19:35 +01:00
|
|
|
version = "0.4.5";
|
2017-11-08 22:28:53 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hrkfdn";
|
|
|
|
repo = "mpdas";
|
|
|
|
rev = version;
|
2018-02-27 15:19:35 +01:00
|
|
|
sha256 = "0fcqc4w6iwbi1n3cllcgj0k61zffhqkbr8668myxap21m35x8y1r";
|
2017-11-08 22:28:53 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ mpd_clientlib curl ];
|
|
|
|
|
|
|
|
makeFlags = [ "CONFIG=/etc" "DESTDIR=" "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Music Player Daemon AudioScrobbler";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://50hz.ws/mpdas/";
|
2017-11-08 22:28:53 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.taketwo ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|