mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 09:37:59 +03:00
cidrgrep: Init at unstable-2020-11-17
This commit is contained in:
parent
c547d11572
commit
11af4a331f
25
pkgs/tools/text/cidrgrep/default.nix
Normal file
25
pkgs/tools/text/cidrgrep/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule {
|
||||
pname = "cidrgrep";
|
||||
version = "unstable-2020-11-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tomdoherty";
|
||||
repo = "cidrgrep";
|
||||
rev = "8ad5af533e8dc33ea18ff19b7c6a41550748fe0e";
|
||||
sha256 = "sha256:0jvwm9jq5jd270b6l9nkvc5pr3rgf158sw83lrprmwmz7r4mr786";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256:0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5";
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/cmd $out/bin/cidrgrep
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Like grep but for IPv4 CIDRs";
|
||||
maintainers = with lib.maintainers; [ das_j ];
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
@ -1117,6 +1117,8 @@ with pkgs;
|
||||
|
||||
bikeshed = python3Packages.callPackage ../applications/misc/bikeshed { };
|
||||
|
||||
cidrgrep = callPackage ../tools/text/cidrgrep { };
|
||||
|
||||
cope = callPackage ../tools/misc/cope { };
|
||||
|
||||
ejson2env = callPackage ../tools/admin/ejson2env { };
|
||||
|
Loading…
Reference in New Issue
Block a user