2021-07-30 16:03:03 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
2022-11-05 02:53:03 +00:00
|
|
|
, ffmpeg-headless
|
2021-07-30 16:03:03 +00:00
|
|
|
, libcdio
|
|
|
|
, libcdio-paranoia
|
|
|
|
, libmusicbrainz5
|
|
|
|
, curl
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cyanrip";
|
2022-01-30 05:41:49 +00:00
|
|
|
version = "0.8.1";
|
2021-07-30 16:03:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cyanreg";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-01-30 05:41:49 +00:00
|
|
|
sha256 = "17bi2xhjv3f3i870whkyqckvjlg32wqkspash87zi0jw7m7jm229";
|
2021-07-30 16:03:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
2022-11-05 02:53:03 +00:00
|
|
|
buildInputs = [ ffmpeg-headless libcdio libcdio-paranoia libmusicbrainz5 curl ];
|
2021-07-30 16:03:03 +00:00
|
|
|
|
|
|
|
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 16:03:03 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.zane ];
|
|
|
|
};
|
|
|
|
}
|