nixpkgs/pkgs/development/libraries/boca/default.nix
2022-02-18 00:16:55 +01:00

52 lines
845 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, expat
, libcdio
, libcdio-paranoia
, libpulseaudio
, smooth
, uriparser
, zlib
}:
stdenv.mkDerivation rec {
pname = "BoCA";
version = "1.0.6a";
src = fetchFromGitHub {
owner = "enzo1982";
repo = "boca";
rev = "v${version}";
sha256 = "sha256-LndlwdM5NlTv73Z1lMkHuIZkVfn48P/LssBnE4X9Sgc=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
expat
libcdio
libcdio-paranoia
libpulseaudio
smooth
uriparser
zlib
];
makeFlags = [
"prefix=$(out)"
];
meta = with lib; {
description = "A component library used by the fre:ac audio converter";
license = licenses.gpl2Plus;
homepage = "https://github.com/enzo1982/boca";
maintainers = with maintainers; [ shamilton ];
platforms = platforms.linux;
};
}