nixpkgs/pkgs/tools/admin/certigo/default.nix

23 lines
597 B
Nix
Raw Normal View History

2019-05-21 16:54:41 +02:00
{ 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 ];
};
}