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
25
pkgs/servers/simplehttp2server/default.nix
Normal file
25
pkgs/servers/simplehttp2server/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "simplehttp2server";
|
||||
version = "3.1.3";
|
||||
|
||||
goPackagePath = "github.com/GoogleChromeLabs/simplehttp2server";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GoogleChromeLabs";
|
||||
repo = "simplehttp2server";
|
||||
rev = version;
|
||||
sha256 = "113mcfvy1m91wask5039mhr0187nlw325ac32785yl4bb4igi8aw";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/GoogleChromeLabs/simplehttp2server";
|
||||
description = "HTTP/2 server for development purposes";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ yrashk ];
|
||||
};
|
||||
|
||||
}
|
||||
12
pkgs/servers/simplehttp2server/deps.nix
generated
Normal file
12
pkgs/servers/simplehttp2server/deps.nix
generated
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/NYTimes/gziphandler";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/NYTimes/gziphandler";
|
||||
rev = "289a3b81f5aedc99f8d6eb0f67827c142f1310d8";
|
||||
sha256 = "1r9ly9wdqjcc4nwv71mfldf1f5cjm4r34vvkdm5wabmdqqqwkbyx";
|
||||
};
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue