mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
47 lines
913 B
Nix
47 lines
913 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";
|
|
changelog = "https://github.com/cyanreg/cyanrip/releases/tag/${finalAttrs.src.rev}";
|
|
description = "Bule-ish CD ripper";
|
|
mainProgram = "cyanrip";
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.zane ];
|
|
};
|
|
})
|