a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
25 lines
715 B
Nix
25 lines
715 B
Nix
{ lib, stdenv, fetchurl, ruby, cdparanoia, makeWrapper }:
|
|
stdenv.mkDerivation rec {
|
|
version = "0.6.2";
|
|
pname = "rubyripper";
|
|
src = fetchurl {
|
|
url = "https://rubyripper.googlecode.com/files/rubyripper-${version}.tar.bz2";
|
|
sha256 = "1fwyk3y0f45l2vi3a481qd7drsy82ccqdb8g2flakv58m45q0yl1";
|
|
};
|
|
|
|
preConfigure = "patchShebangs .";
|
|
|
|
configureFlags = [ "--enable-cli" ];
|
|
buildInputs = [ ruby cdparanoia makeWrapper ];
|
|
postInstall = ''
|
|
wrapProgram "$out/bin/rrip_cli" \
|
|
--prefix PATH : "${ruby}/bin" \
|
|
--prefix PATH : "${cdparanoia}/bin"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "High quality CD audio ripper";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|