nixpkgs/pkgs/by-name/cy/cyanrip/package.nix

46 lines
793 B
Nix
Raw Normal View History

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
}:
stdenv.mkDerivation (finalAttrs: {
2021-07-30 18:03:03 +02:00
pname = "cyanrip";
version = "0.9.2";
2021-07-30 18:03:03 +02:00
src = fetchFromGitHub {
owner = "cyanreg";
repo = "cyanrip";
rev = "v${finalAttrs.version}";
hash = "sha256-sWgHf8S4GZDAIvMUf5KvGy2y0JcUbRS53IjArdgokqc=";
2021-07-30 18:03:03 +02: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";
license = licenses.lgpl21Plus;
2021-07-30 18:03:03 +02:00
platforms = platforms.all;
maintainers = [ maintainers.zane ];
};
})