uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
38
pkgs/applications/audio/rubyripper/default.nix
Normal file
38
pkgs/applications/audio/rubyripper/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib, stdenv, fetchFromGitHub, makeWrapper
|
||||
, cdparanoia, cddiscid, ruby }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.8.0rc3";
|
||||
pname = "rubyripper";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bleskodev";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1qfwv8bgc9pyfh3d40bvyr9n7sjc2na61481693wwww640lm0f9f";
|
||||
};
|
||||
|
||||
preConfigure = "patchShebangs .";
|
||||
|
||||
configureFlags = [ "--enable-cli" ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
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;
|
||||
license = licenses.gpl3Plus;
|
||||
homepage = "https://github.com/bleskodev/rubyripper";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue