depot/third_party/nixpkgs/pkgs/development/libraries/boca/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

51 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.3";
src = fetchFromGitHub {
owner = "enzo1982";
repo = "boca";
rev = "v${version}";
sha256 = "0x6pqd5cdag0l283lkq01qaqwyf1skxbncdwig8b2s742nbzjlz8";
};
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;
};
}