yubico-piv-tool: Add derivation
This commit is contained in:
parent
4e8d55c59f
commit
fa6275857e
22
pkgs/tools/misc/yubico-piv-tool/default.nix
Normal file
22
pkgs/tools/misc/yubico-piv-tool/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv, fetchurl, pkgconfig, openssl, pcsclite }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "yubico-piv-tool-0.1.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://developers.yubico.com/yubico-piv-tool/Releases/${name}.tar.gz";
|
||||||
|
sha256 = "1m573f0vn3xgzsl29ps679iykp5krwd0fnr4nhm1fw2hm5zahrhf";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pkgconfig openssl pcsclite ];
|
||||||
|
|
||||||
|
configureFlags = [ "--with-backend=pcsc" ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://developers.yubico.com/yubico-piv-tool/;
|
||||||
|
description = "";
|
||||||
|
maintainers = with maintainers; [ wkennington ];
|
||||||
|
license = licenses.bsd2;
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -6960,6 +6960,8 @@ let
|
|||||||
|
|
||||||
yajl = callPackage ../development/libraries/yajl { };
|
yajl = callPackage ../development/libraries/yajl { };
|
||||||
|
|
||||||
|
yubico-piv-tool = callPackage ../tools/misc/yubico-piv-tool { };
|
||||||
|
|
||||||
yubikey-personalization = callPackage ../tools/misc/yubikey-personalization {
|
yubikey-personalization = callPackage ../tools/misc/yubikey-personalization {
|
||||||
libusb = libusb1;
|
libusb = libusb1;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user