nixpkgs/pkgs/tools/audio/mpdas/default.nix

34 lines
669 B
Nix
Raw Normal View History

2021-02-12 11:35:11 +00:00
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, libmpdclient
, curl
}:
stdenv.mkDerivation rec {
pname = "mpdas";
version = "0.4.5";
src = fetchFromGitHub {
owner = "hrkfdn";
repo = "mpdas";
rev = version;
sha256 = "0fcqc4w6iwbi1n3cllcgj0k61zffhqkbr8668myxap21m35x8y1r";
};
nativeBuildInputs = [ pkg-config ];
2021-02-12 11:35:11 +00:00
buildInputs = [ libmpdclient curl ];
makeFlags = [ "CONFIG=/etc" "DESTDIR=" "PREFIX=$(out)" ];
meta = with lib; {
description = "Music Player Daemon AudioScrobbler";
homepage = "https://50hz.ws/mpdas/";
license = licenses.bsd3;
maintainers = [ maintainers.taketwo ];
platforms = platforms.all;
};
}