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
28
pkgs/development/tools/ineffassign/default.nix
Normal file
28
pkgs/development/tools/ineffassign/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ buildGoPackage
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "ineffassign-unstable";
|
||||
version = "2018-09-09";
|
||||
rev = "1003c8bd00dc2869cb5ca5282e6ce33834fed514";
|
||||
|
||||
goPackagePath = "github.com/gordonklaus/ineffassign";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
|
||||
owner = "gordonklaus";
|
||||
repo = "ineffassign";
|
||||
sha256 = "1rkzqvd3z03vq8q8qi9cghvgggsf02ammj9wq8jvpnx6b2sd16nd";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Detect ineffectual assignments in Go code";
|
||||
homepage = "https://github.com/gordonklaus/ineffassign";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ kalbasit ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue