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
31
pkgs/development/tools/build-managers/redo-sh/default.nix
Normal file
31
pkgs/development/tools/build-managers/redo-sh/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchurl, makeWrapper, coreutils }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "4.0.4";
|
||||
pname = "redo-sh";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://news.dieweltistgarnichtso.net/bin/archives/redo-sh.tar.gz";
|
||||
sha256 = "0d3hz3vy5qmjr9r4f8a5cx9hikpzs8h8f0fsl3dpbialf4wck24g";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
sourceRoot = ".";
|
||||
installPhase = ''
|
||||
mkdir -p "$out/share"
|
||||
mv man "$out/share"
|
||||
mv bin "$out"
|
||||
for p in $out/bin/*; do
|
||||
wrapProgram "$p" --prefix PATH : "$out/bin:${coreutils}/bin"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Redo implementation in Bourne Shell";
|
||||
homepage = "http://news.dieweltistgarnichtso.net/bin/redo-sh.html";
|
||||
license = licenses.agpl3;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ sternenseemann ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue