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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue