nixpkgs/pkgs/applications/audio/cyanrip/default.nix

35 lines
732 B
Nix
Raw Normal View History

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";
2023-02-26 04:18:28 +00:00
version = "0.9.0";
2021-07-30 16:03:03 +00:00
src = fetchFromGitHub {
owner = "cyanreg";
repo = pname;
rev = "v${version}";
2023-02-26 04:18:28 +00:00
sha256 = "sha256-gH/rWTRYX10Q2Y9oSaMu0bOy3SMbcSNmH3dkXHFAw90";
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";
license = licenses.lgpl21Plus;
2021-07-30 16:03:03 +00:00
platforms = platforms.all;
maintainers = [ maintainers.zane ];
};
}