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