yubico-piv-tool: 2.3.0 -> 2.3.1
This commit is contained in:
parent
87b9c4bde5
commit
84d8894b2b
|
@ -1,14 +1,26 @@
|
||||||
{ lib, stdenv, fetchurl, pkg-config, openssl, check, pcsclite, PCSC, gengetopt, cmake
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, pkg-config
|
||||||
|
, openssl
|
||||||
|
, check
|
||||||
|
, pcsclite
|
||||||
|
, PCSC
|
||||||
|
, gengetopt
|
||||||
|
, cmake
|
||||||
, withApplePCSC ? stdenv.isDarwin
|
, withApplePCSC ? stdenv.isDarwin
|
||||||
|
, gitUpdater
|
||||||
|
, testers
|
||||||
|
, yubico-piv-tool
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "yubico-piv-tool";
|
pname = "yubico-piv-tool";
|
||||||
version = "2.3.0";
|
version = "2.3.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://developers.yubico.com/yubico-piv-tool/Releases/yubico-piv-tool-${version}.tar.gz";
|
url = "https://developers.yubico.com/yubico-piv-tool/Releases/yubico-piv-tool-${version}.tar.gz";
|
||||||
hash = "sha256-oCoS2VRdHvehuZhgbYm3tlWl9aFDdzbPUdsIP4dvVak=";
|
hash = "sha256-2ona/YthhapjU0Z1P53bKa8pvEq9kt2B832dZWC11k4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -29,8 +41,21 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
configureFlags = [ "--with-backend=${if withApplePCSC then "macscard" else "pcsc"}" ];
|
configureFlags = [ "--with-backend=${if withApplePCSC then "macscard" else "pcsc"}" ];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gitUpdater {
|
||||||
|
url = "https://github.com/Yubico/yubico-piv-tool.git";
|
||||||
|
rev-prefix = "yubico-piv-tool-";
|
||||||
|
};
|
||||||
|
tests.version = testers.testVersion {
|
||||||
|
inherit version;
|
||||||
|
package = yubico-piv-tool;
|
||||||
|
command = "yubico-piv-tool --version";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://developers.yubico.com/yubico-piv-tool/";
|
homepage = "https://developers.yubico.com/yubico-piv-tool/";
|
||||||
|
changelog = "https://developers.yubico.com/yubico-piv-tool/Release_Notes.html";
|
||||||
description = ''
|
description = ''
|
||||||
Used for interacting with the Privilege and Identification Card (PIV)
|
Used for interacting with the Privilege and Identification Card (PIV)
|
||||||
application on a YubiKey
|
application on a YubiKey
|
||||||
|
|
Loading…
Reference in a new issue