diff --git a/pkgs/tools/admin/certigo/default.nix b/pkgs/tools/admin/certigo/default.nix new file mode 100644 index 000000000000..f53ef4a16fa6 --- /dev/null +++ b/pkgs/tools/admin/certigo/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "certigo"; + version = "1.11.0"; + + src = fetchFromGitHub { + owner = "square"; + repo = pname; + rev = "v${version}"; + sha256 = "1vi4gn484kc7vyxnm2nislzy587h2h4gc8d197vslhyfygac9y7b"; + }; + + modSha256 = "0x0iq3w5310dg8lp2kkw82iryfhs9p4707538f5dcxjsllpqvcvj"; + + meta = with stdenv.lib; { + description = "A utility to examine and validate certificates in a variety of formats"; + homepage = "https://github.com/square/certigo"; + license = licenses.asl20; + maintainers = [ maintainers.marsam ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 496110b1b475..647e32175912 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -699,6 +699,8 @@ in bunny = callPackage ../tools/package-management/bunny { }; + certigo = callPackage ../tools/admin/certigo { }; + chezmoi = callPackage ../tools/misc/chezmoi { }; chipsec = callPackage ../tools/security/chipsec {