cfssl: 1.6.1 -> 1.6.2

https://github.com/cloudflare/cfssl/releases/tag/v1.6.2
This commit is contained in:
zowoq 2022-08-27 14:43:25 +10:00
parent e683858f46
commit 721430fe18

View File

@ -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";