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
32
pkgs/tools/archivers/pax/default.nix
Normal file
32
pkgs/tools/archivers/pax/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, stdenv, fetchurl, utmp }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pax";
|
||||
version = "20201030";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.mirbsd.org/MirOS/dist/mir/cpio/paxmirabilis-${version}.tgz";
|
||||
sha256 = "1p18nxijh323f4i1s2pg7pcr0557xljl5avv8ll5s9nfr34r5j0w";
|
||||
};
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin utmp;
|
||||
|
||||
buildPhase = ''
|
||||
sh Build.sh -r -tpax
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dm555 pax $out/bin/pax
|
||||
ln -s $out/bin/pax $out/bin/paxcpio
|
||||
ln -s $out/bin/pax $out/bin/paxtar
|
||||
install -Dm444 mans/pax{,cpio,tar}.1 -t $out/share/man/man1/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "POSIX standard archive tool from MirBSD";
|
||||
homepage = "https://www.mirbsd.org/pax.htm";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue