depot/third_party/nixpkgs/pkgs/by-name/cy/cyanrip/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

46 lines
824 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, meson
, ninja
, pkg-config
, ffmpeg-headless
, libcdio
, libcdio-paranoia
, libmusicbrainz5
, curl
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cyanrip";
version = "0.9.3.1";
src = fetchFromGitHub {
owner = "cyanreg";
repo = "cyanrip";
rev = "v${finalAttrs.version}";
hash = "sha256-GAPHsYQYJQOBV4ok7omqhiDPKX+VC4Bw3Msb3pd8Zo8=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
ffmpeg-headless
libcdio
libcdio-paranoia
libmusicbrainz5
curl
];
meta = with lib; {
homepage = "https://github.com/cyanreg/cyanrip";
description = "Bule-ish CD ripper";
mainProgram = "cyanrip";
license = licenses.lgpl21Plus;
platforms = platforms.all;
maintainers = [ maintainers.zane ];
};
})