mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 13:08:48 +00:00
certinfo: init at 1.0.21
Co-authored-by: Arne Keller <2012gdwu+github@posteo.de>
This commit is contained in:
parent
98e0fddb64
commit
ec84f77e06
29
pkgs/tools/security/certinfo/default.nix
Normal file
29
pkgs/tools/security/certinfo/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv, lib, buildGoModule, fetchFromGitHub, libX11, darwin }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "certinfo";
|
||||
version = "1.0.21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pete911";
|
||||
repo = "certinfo";
|
||||
rev = "v${version}";
|
||||
sha256 = "acAjX4M/egAhGVOeEKw5r2wteA/UsWf9fGR/HnhUr/w=";
|
||||
};
|
||||
|
||||
# clipboard functionality not working on Darwin
|
||||
doCheck = !(stdenv.isDarwin && stdenv.isAarch64);
|
||||
|
||||
buildInputs = [ ]
|
||||
++ lib.optionals stdenv.isLinux [ libX11 ]
|
||||
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ];
|
||||
|
||||
vendorSha256 = null;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Print x509 certificate info";
|
||||
homepage = "https://github.com/pete911/certinfo";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jakuzure ];
|
||||
};
|
||||
}
|
@ -466,6 +466,8 @@ with pkgs;
|
||||
|
||||
certgraph = callPackage ../tools/security/certgraph { };
|
||||
|
||||
certinfo = callPackage ../tools/security/certinfo { };
|
||||
|
||||
certsync = callPackage ../tools/security/certsync { };
|
||||
|
||||
cewl = callPackage ../tools/security/cewl { };
|
||||
|
Loading…
Reference in New Issue
Block a user