Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
766 B
Nix
35 lines
766 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
libX11,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "certinfo";
|
|
version = "1.0.37";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pete911";
|
|
repo = "certinfo";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-0nJGIEqS3Dz0qmlX2k6POGK8cs05ENMDJsvoIhpPKpM=";
|
|
};
|
|
|
|
# clipboard functionality not working on Darwin
|
|
doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64);
|
|
|
|
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libX11 ];
|
|
|
|
vendorHash = null;
|
|
|
|
meta = with lib; {
|
|
description = "Print x509 certificate info";
|
|
mainProgram = "certinfo";
|
|
homepage = "https://github.com/pete911/certinfo";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jakuzure ];
|
|
};
|
|
}
|