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