2021-07-30 17:03:03 +01:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, ffmpeg
|
|
|
|
, libcdio
|
|
|
|
, libcdio-paranoia
|
|
|
|
, libmusicbrainz5
|
|
|
|
, curl
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cyanrip";
|
2022-01-25 09:12:18 +00:00
|
|
|
version = "0.8.0";
|
2021-07-30 17:03:03 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cyanreg";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-01-25 09:12:18 +00:00
|
|
|
sha256 = "1aip52bwkq8cb1d8ifyv2m6m5dz7jk6qmbhyb97yyf4nhxv445ky";
|
2021-07-30 17:03:03 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
|
|
buildInputs = [ ffmpeg libcdio libcdio-paranoia libmusicbrainz5 curl ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/cyanreg/cyanrip";
|
|
|
|
description = "Bule-ish CD ripper";
|
2022-01-25 09:12:18 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2021-07-30 17:03:03 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.zane ];
|
|
|
|
};
|
|
|
|
}
|