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
29
pkgs/development/tools/statik/default.nix
Normal file
29
pkgs/development/tools/statik/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "statik";
|
||||
version = "0.1.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rakyll";
|
||||
repo = "statik";
|
||||
rev = "v${version}";
|
||||
sha256 = "ahsNiac/3I2+PUqc90E73Brb99M68ewh9nWXoupfE3g=";
|
||||
};
|
||||
|
||||
vendorSha256 = "pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
|
||||
|
||||
# Avoid building example
|
||||
subPackages = [ "." "fs" ];
|
||||
# Tests are checking that the files embeded are preserving
|
||||
# their meta data like dates etc, but it assumes to be in 2048
|
||||
# which is not the case once entered the nix store
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/rakyll/statik";
|
||||
description = "Embed files into a Go executable ";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ Madouura ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue