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
30
pkgs/applications/version-management/git-sizer/default.nix
Normal file
30
pkgs/applications/version-management/git-sizer/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, testers, git-sizer }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "git-sizer";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "github";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-On7QBTzKfnuuzwMQ8m1odxGqfIKL+EDg5V05Kxuhmqw=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-oRlsD99XiI/0ZWibjyRcycmGab+vMbXrV5hIdIyUDYg=";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.BuildVersion=${version}" ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests.vesion = testers.testVersion {
|
||||
package = git-sizer;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Compute various size metrics for a Git repository";
|
||||
homepage = "https://github.com/github/git-sizer";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ matthewbauer ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue