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

28 lines
674 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pkgconfig, mpd_clientlib, curl }:
stdenv.mkDerivation rec {
name = "mpdas-${version}";
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";
2019-07-10 21:52:51 +02:00
homepage = https://50hz.ws/mpdas/;
license = licenses.bsd3;
maintainers = [ maintainers.taketwo ];
platforms = platforms.all;
};
}