From 52146c5484e2e113b81eec1c2ae5fd63d2b430aa Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 21 May 2019 09:54:41 -0500 Subject: [PATCH] certigo: init at 1.11.0 (#61782) --- pkgs/tools/admin/certigo/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/tools/admin/certigo/default.nix 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 {