step-ca: 0.13.3 -> 0.15.6
Co-Authored-By: Florian Klink <flokli@flokli.de>
This commit is contained in:
committed by
Florian Klink
co-authored by
Florian Klink
parent
064cf56d02
commit
ba89f01861
@@ -1,19 +1,35 @@
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, buildGoModule
|
||||
, pcsclite
|
||||
, PCSC
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "step-ca";
|
||||
version = "0.13.3";
|
||||
|
||||
goPackagePath = "github.com/smallstep/certificates";
|
||||
version = "0.15.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "smallstep";
|
||||
repo = "certificates";
|
||||
rev = "v${version}";
|
||||
sha256 = "1i42j7v5a5qqqb9ng8irblfyzykhyws0394q3zac290ymjijxbnq";
|
||||
sha256 = "0n26692ph4q4cmrqammfazmx1k9p2bydwqc57q4hz5ni6jd31zbz";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
vendorSha256 = "0w0phyqymcg2h2jjasxmkf4ryn4y1bqahcy94rs738cqr5ifyfbg";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs =
|
||||
lib.optional stdenv.isLinux (lib.getDev pcsclite)
|
||||
++ lib.optional stdenv.isDarwin PCSC;
|
||||
|
||||
# Tests fail on darwin with
|
||||
# panic: httptest: failed to listen on a port: listen tcp6 [::1]:0: bind: operation not permitted [recovered]
|
||||
# probably some sandboxing issue
|
||||
doCheck = stdenv.isLinux;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A private certificate authority (X.509 & SSH) & ACME server for secure automated certificate management, so you can use TLS everywhere & SSO for SSH";
|
||||
|
||||
Reference in New Issue
Block a user