nixpkgs/pkgs/tools/audio/mpdas/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
664 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;
};
}