2014-10-28 23:35:47 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, openssl, pcsclite }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-04-09 12:54:32 +02:00
|
|
|
name = "yubico-piv-tool-0.1.6";
|
2014-10-28 23:35:47 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://developers.yubico.com/yubico-piv-tool/Releases/${name}.tar.gz";
|
2015-04-09 12:54:32 +02:00
|
|
|
sha256 = "1fsr7wkbg2ff9igc3d8bfqijdxj88wpfnj7zlidzgzakj4b6bxzg";
|
2014-10-28 23:35:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|