nixpkgs/pkgs/by-name/ce/cero/package.nix
2025-06-03 18:27:59 +05:30

37 lines
770 B
Nix

{
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"
];
# Tests are comparing output
doCheck = false;
meta = {
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "cero";
};
}