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
36
pkgs/applications/version-management/reposurgeon/default.nix
Normal file
36
pkgs/applications/version-management/reposurgeon/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchurl, makeWrapper, buildGoModule, git
|
||||
, asciidoctor, ruby
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "reposurgeon";
|
||||
version = "4.26";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.catb.org/~esr/reposurgeon/reposurgeon-${version}.tar.xz";
|
||||
sha256 = "sha256-FuL5pvIM468hEm6rUBKGW6+WlYv4DPHNnpwpRGzMwlY=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-QpgRCnsOOZujE405dCe+PYg/zNkqnrfZFfbBFo7adjY=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
nativeBuildInputs = [ asciidoctor ruby ];
|
||||
|
||||
postBuild = ''
|
||||
patchShebangs .
|
||||
make all HTMLFILES=
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
make install prefix=$out HTMLFILES=
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A tool for editing version-control repository history";
|
||||
license = lib.licenses.bsd3;
|
||||
homepage = "http://www.catb.org/esr/reposurgeon/";
|
||||
maintainers = with lib.maintainers; [ dfoxfranke ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
diff -Naur reposurgeon-3.44/Makefile reposurgeon-3.44-new/Makefile
|
||||
--- reposurgeon-3.44/Makefile 2018-04-29 12:27:43.000000000 -0700
|
||||
+++ reposurgeon-3.44-new/Makefile 2018-08-01 17:38:15.582789739 -0700
|
||||
@@ -36,7 +36,7 @@
|
||||
MANPAGES = reposurgeon.1 repotool.1 repodiffer.1 repomapper.1 repocutter.1
|
||||
HTMLFILES = $(MANPAGES:.1=.html) \
|
||||
dvcs-migration-guide.html features.html reporting-bugs.html
|
||||
-SHARED = README.md NEWS TODO reposurgeon-git-aliases $(HTMLFILES)
|
||||
+SHARED = reposurgeon-git-aliases $(HTMLFILES)
|
||||
|
||||
all: $(MANPAGES) $(HTMLFILES)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue