depot/third_party/nixpkgs/pkgs/tools/audio/mpdas/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

34 lines
696 B
Nix

{ 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 ];
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;
mainProgram = "mpdas";
};
}