diff options
author | Nick Cao <nickcao@nichi.co> | 2023-10-23 08:35:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 08:35:39 -0400 |
commit | 1faecef2e81d47ca5cc878179554232ee5f6815b (patch) | |
tree | cf01e2eec6a6245a555c5daea03b707a00cb2f83 /pkgs/by-name | |
parent | b7df937a2816bd25d7e22a2a614a751a22da84f4 (diff) | |
parent | 902c21cca389af719b026ff713ecd1185ff10069 (diff) |
Merge pull request #259691 from cyounkins/cidr-merger
cidr-merger: init at 1.1.3
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/ci/cidr-merger/package.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/by-name/ci/cidr-merger/package.nix b/pkgs/by-name/ci/cidr-merger/package.nix new file mode 100644 index 0000000000000..3d06120716095 --- /dev/null +++ b/pkgs/by-name/ci/cidr-merger/package.nix @@ -0,0 +1,25 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "cidr-merger"; + version = "1.1.3"; + + src = fetchFromGitHub { + owner = "zhanhb"; + repo = "cidr-merger"; + rev = "v${version}"; + sha256 = "sha256-Kb+89VP7JhBrTE4MM3H/dqoIBgDLnVhKqkgHdymYCgk="; + }; + + vendorHash = "sha256-cPri384AX/FdfNtzt3xj4bF+/izSa4sZuAohK0R/7H4="; + + meta = with lib; { + description = "A simple command line tool to merge ip/ip cidr/ip range, supports IPv4/IPv6"; + homepage = "https://github.com/zhanhb/cidr-merger"; + license = licenses.mit; + maintainers = with maintainers; [ cyounkins ]; + }; +} |