pkgs/cyanrip: Init

This also replaces abcde in user environment with cyanrip.
pull/52/head
Simon Bruder 2021-04-18 10:40:33 +02:00
parent bd9f25c995
commit 9d27b71588
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
3 changed files with 38 additions and 1 deletions

35
pkgs/cyanrip/default.nix Normal file
View 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;
};
}

View File

@ -48,4 +48,6 @@ in
})
];
});
cyanrip = callPackage ./cyanrip { };
}

View File

@ -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