2021-07-30 18:03:03 +02:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
2022-11-05 03:53:03 +01:00
|
|
|
, ffmpeg-headless
|
2021-07-30 18:03:03 +02:00
|
|
|
, libcdio
|
|
|
|
, libcdio-paranoia
|
|
|
|
, libmusicbrainz5
|
|
|
|
, curl
|
|
|
|
}:
|
2023-11-21 11:29:23 +01:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-07-30 18:03:03 +02:00
|
|
|
pname = "cyanrip";
|
2023-11-21 11:29:23 +01:00
|
|
|
version = "0.9.2";
|
2021-07-30 18:03:03 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cyanreg";
|
2023-11-21 11:29:23 +01:00
|
|
|
repo = "cyanrip";
|
|
|
|
rev = "v${finalAttrs.version}";
|
|
|
|
hash = "sha256-sWgHf8S4GZDAIvMUf5KvGy2y0JcUbRS53IjArdgokqc=";
|
2021-07-30 18:03:03 +02:00
|
|
|
};
|
|
|
|
|
2023-11-21 11:29:23 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
ffmpeg-headless
|
|
|
|
libcdio
|
|
|
|
libcdio-paranoia
|
|
|
|
libmusicbrainz5
|
|
|
|
curl
|
|
|
|
];
|
2021-07-30 18:03:03 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/cyanreg/cyanrip";
|
|
|
|
description = "Bule-ish CD ripper";
|
2022-01-25 10:12:18 +01:00
|
|
|
license = licenses.lgpl21Plus;
|
2021-07-30 18:03:03 +02:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.zane ];
|
|
|
|
};
|
2023-11-21 11:29:23 +01:00
|
|
|
})
|