2021-08-11 14:56:57 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
2022-12-17 10:02:37 +00:00
|
|
|
, ffmpeg-headless
|
2021-08-11 14:56:57 +00:00
|
|
|
, libcdio
|
|
|
|
, libcdio-paranoia
|
|
|
|
, libmusicbrainz5
|
|
|
|
, curl
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cyanrip";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "0.9.0";
|
2021-08-11 14:56:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cyanreg";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-05-24 13:37:59 +00:00
|
|
|
sha256 = "sha256-gH/rWTRYX10Q2Y9oSaMu0bOy3SMbcSNmH3dkXHFAw90";
|
2021-08-11 14:56:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
2022-12-17 10:02:37 +00:00
|
|
|
buildInputs = [ ffmpeg-headless libcdio libcdio-paranoia libmusicbrainz5 curl ];
|
2021-08-11 14:56:57 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/cyanreg/cyanrip";
|
|
|
|
description = "Bule-ish CD ripper";
|
2022-01-27 00:19:43 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2021-08-11 14:56:57 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.zane ];
|
|
|
|
};
|
|
|
|
}
|