mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
fb73e0e595
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/57kxxdmzd8k758sj5fsc430cq54dzr4f-mpdas-0.4.5/bin/mpdas -h` got 0 exit code - ran `/nix/store/57kxxdmzd8k758sj5fsc430cq54dzr4f-mpdas-0.4.5/bin/mpdas -v` and found version 0.4.5 - ran `/nix/store/57kxxdmzd8k758sj5fsc430cq54dzr4f-mpdas-0.4.5/bin/mpdas -h` and found version 0.4.5 - found 0.4.5 with grep in /nix/store/57kxxdmzd8k758sj5fsc430cq54dzr4f-mpdas-0.4.5 - found 0.4.5 in filename of file in /nix/store/57kxxdmzd8k758sj5fsc430cq54dzr4f-mpdas-0.4.5 cc "@taketwo"
28 lines
673 B
Nix
28 lines
673 B
Nix
{ 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";
|
|
homepage = http://50hz.ws/mpdas/;
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.taketwo ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|