cfssl: 1.6.1 -> 1.6.2
https://github.com/cloudflare/cfssl/releases/tag/v1.6.2
This commit is contained in:
parent
e683858f46
commit
721430fe18
@ -1,14 +1,14 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, go-rice }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "cfssl";
|
||||
version = "1.6.1";
|
||||
version = "1.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cloudflare";
|
||||
repo = "cfssl";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-QY04MecjQTmrkPkWcLkXJWErtaw7esb6GnPIKGTJL34=";
|
||||
sha256 = "sha256-cyriV6z904QlkDlP80CSpakISJn7S81/2fcspAf5uk4=";
|
||||
};
|
||||
|
||||
subPackages = [
|
||||
@ -26,19 +26,13 @@ buildGoModule rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = [ go-rice ];
|
||||
|
||||
preBuild = ''
|
||||
pushd cli/serve
|
||||
rice embed-go
|
||||
popd
|
||||
'';
|
||||
|
||||
ldflags = [
|
||||
"-s" "-w"
|
||||
"-X github.com/cloudflare/cfssl/cli/version.version=v${version}"
|
||||
];
|
||||
|
||||
passthru.tests = { inherit (nixosTests) cfssl; };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://cfssl.org/";
|
||||
description = "Cloudflare's PKI and TLS toolkit";
|
||||
|
Loading…
Reference in New Issue
Block a user