2021-03-05 11:20:51 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
|
|
|
|
, expat
|
|
|
|
, libcdio
|
|
|
|
, libcdio-paranoia
|
|
|
|
, libpulseaudio
|
|
|
|
, smooth
|
|
|
|
, uriparser
|
|
|
|
, zlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "BoCA";
|
2021-03-11 06:10:41 +00:00
|
|
|
version = "1.0.4";
|
2021-03-05 11:20:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "enzo1982";
|
|
|
|
repo = "boca";
|
|
|
|
rev = "v${version}";
|
2021-03-11 06:10:41 +00:00
|
|
|
sha256 = "sha256-SP/rVt/8VoeUprwJIIMSIBvoC1Zein3F7MR2tqc2vd0=";
|
2021-03-05 11:20:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|