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
34
pkgs/tools/misc/mapcidr/default.nix
Normal file
34
pkgs/tools/misc/mapcidr/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mapcidr";
|
||||
version = "0.0.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "projectdiscovery";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-hlMIgSsSqvMx6Y7JnR7L9muTLWPfxDN5raJRezt99G0=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-zp+XaSZgSMwJK+EEiTaJKBTPiKYaYpTtArnGBmHUGzE=";
|
||||
|
||||
modRoot = ".";
|
||||
subPackages = [
|
||||
"cmd/mapcidr"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Small utility program to perform multiple operations for a given subnet/CIDR ranges";
|
||||
longDescription = ''
|
||||
mapCIDR is developed to ease load distribution for mass scanning
|
||||
operations, it can be used both as a library and as independent CLI tool.
|
||||
'';
|
||||
homepage = "https://github.com/projectdiscovery/mapcidr";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hanemile ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue