8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
27 lines
666 B
Nix
27 lines
666 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, mpd_clientlib, curl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mpdas";
|
|
version = "0.4.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hrkfdn";
|
|
repo = "mpdas";
|
|
rev = version;
|
|
sha256 = "0fcqc4w6iwbi1n3cllcgj0k61zffhqkbr8668myxap21m35x8y1r";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ mpd_clientlib curl ];
|
|
|
|
makeFlags = [ "CONFIG=/etc" "DESTDIR=" "PREFIX=$(out)" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Music Player Daemon AudioScrobbler";
|
|
homepage = "https://50hz.ws/mpdas/";
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.taketwo ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|