2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, mpd_clientlib, curl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mpdas";
|
|
|
|
version = "0.4.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hrkfdn";
|
|
|
|
repo = "mpdas";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0fcqc4w6iwbi1n3cllcgj0k61zffhqkbr8668myxap21m35x8y1r";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [ mpd_clientlib curl ];
|
|
|
|
|
|
|
|
makeFlags = [ "CONFIG=/etc" "DESTDIR=" "PREFIX=$(out)" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Music Player Daemon AudioScrobbler";
|
|
|
|
homepage = "https://50hz.ws/mpdas/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.taketwo ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|