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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
831 B
Nix
Raw Normal View History

2022-02-23 06:14:45 +00:00
{ lib, stdenv, fetchFromGitHub, makeWrapper
, cdparanoia, cddiscid, ruby }:
stdenv.mkDerivation rec {
2022-02-23 06:14:45 +00:00
version = "0.8.0rc3";
pname = "rubyripper";
2022-02-23 06:14:45 +00:00
src = fetchFromGitHub {
owner = "bleskodev";
repo = pname;
rev = "v${version}";
sha256 = "1qfwv8bgc9pyfh3d40bvyr9n7sjc2na61481693wwww640lm0f9f";
};
2016-03-04 00:42:43 +00:00
preConfigure = "patchShebangs .";
configureFlags = [ "--enable-cli" ];
2022-02-23 06:14:45 +00:00
nativeBuildInputs = [ makeWrapper ];
2022-02-23 06:14:45 +00:00
buildInputs = [
cddiscid
cdparanoia
ruby
];
postFixup = ''
wrapProgram $out/bin/rrip_cli \
--prefix PATH : ${lib.makeBinPath [ cddiscid cdparanoia ruby ]}
'';
meta = with lib; {
description = "High quality CD audio ripper";
platforms = platforms.linux;
2022-02-23 06:14:45 +00:00
license = licenses.gpl3Plus;
homepage = "https://github.com/bleskodev/rubyripper";
};
}