From 92d39c06c3caa5b23b590268e59cbeec5f14fb4f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 3 Apr 2024 23:38:33 +0200 Subject: [PATCH] cero: init at 1.3.0 Scrape domain names from SSL certificates of arbitrary hosts https://github.com/glebarez/cero --- pkgs/by-name/ce/cero/package.nix | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/by-name/ce/cero/package.nix diff --git a/pkgs/by-name/ce/cero/package.nix b/pkgs/by-name/ce/cero/package.nix new file mode 100644 index 000000000000..4784df65e839 --- /dev/null +++ b/pkgs/by-name/ce/cero/package.nix @@ -0,0 +1,33 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "cero"; + version = "1.3.0"; + + src = fetchFromGitHub { + owner = "glebarez"; + repo = "cero"; + rev = "v${version}"; + hash = "sha256-t2u6Q8CatUIQKk146uor367vr85O6KU8Gf8LZFZTESU="; + }; + + vendorHash = "sha256-VwzjkZLKovmPjvEmANMgZTtkwiM+dyjfTqftvK+muPM="; + + ldflags = [ + "-s" + "-w" + ]; + + meta = with lib; { + description = "Scrape domain names from SSL certificates of arbitrary hosts"; + homepage = "https://github.com/glebarez/cero"; + changelog = "https://github.com/glebarez/cero/releases/tag/v${version}"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + mainProgram = "cero"; + }; +}