mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
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 {
|
buildGoModule rec {
|
||||||
pname = "cfssl";
|
pname = "cfssl";
|
||||||
version = "1.6.1";
|
version = "1.6.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cloudflare";
|
owner = "cloudflare";
|
||||||
repo = "cfssl";
|
repo = "cfssl";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-QY04MecjQTmrkPkWcLkXJWErtaw7esb6GnPIKGTJL34=";
|
sha256 = "sha256-cyriV6z904QlkDlP80CSpakISJn7S81/2fcspAf5uk4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
subPackages = [
|
subPackages = [
|
||||||
@ -26,19 +26,13 @@ buildGoModule rec {
|
|||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
nativeBuildInputs = [ go-rice ];
|
|
||||||
|
|
||||||
preBuild = ''
|
|
||||||
pushd cli/serve
|
|
||||||
rice embed-go
|
|
||||||
popd
|
|
||||||
'';
|
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s" "-w"
|
"-s" "-w"
|
||||||
"-X github.com/cloudflare/cfssl/cli/version.version=v${version}"
|
"-X github.com/cloudflare/cfssl/cli/version.version=v${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.tests = { inherit (nixosTests) cfssl; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://cfssl.org/";
|
homepage = "https://cfssl.org/";
|
||||||
description = "Cloudflare's PKI and TLS toolkit";
|
description = "Cloudflare's PKI and TLS toolkit";
|
||||||
|
Loading…
Reference in New Issue
Block a user