pkgs/cyanrip: Init
This also replaces abcde in user environment with cyanrip.
This commit is contained in:
parent
bd9f25c995
commit
9d27b71588
35
pkgs/cyanrip/default.nix
Normal file
35
pkgs/cyanrip/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, ffmpeg
|
||||
, libcdio
|
||||
, libcdio-paranoia
|
||||
, curl
|
||||
, libmusicbrainz5
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cyanrip";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cyanreg";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0lgb92sfpf4w3nj5vlj6j7931mj2q3cmcx1app9snf853jk9ahmw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
buildInputs = [ ffmpeg libcdio libcdio-paranoia curl libmusicbrainz5 ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fully featured CD ripping program able to take out most of the tedium";
|
||||
homepage = "https://github.com/cyanreg/cyanrip";
|
||||
license = with licenses; [ lgpl21Plus lgpl3Plus ]; # some files have lgpl21Plus header, repo has lgpl3Plus LICENSE
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -48,4 +48,6 @@ in
|
|||
})
|
||||
];
|
||||
});
|
||||
|
||||
cyanrip = callPackage ./cyanrip { };
|
||||
}
|
||||
|
|
|
@ -118,7 +118,7 @@ in
|
|||
waifu2x-photo # waifu2x-converter-cpp for real life photos
|
||||
|
||||
# audio
|
||||
abcde # cd ripper
|
||||
cyanrip # cd ripper
|
||||
flac # flac encoder
|
||||
opusTools # opus encoder
|
||||
shntool # split audio with cue
|
||||
|
|
Loading…
Reference in a new issue