2014-10-28 22:35:47 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, openssl, pcsclite }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-11-26 23:50:15 +00:00
|
|
|
name = "yubico-piv-tool-0.1.2";
|
2014-10-28 22:35:47 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://developers.yubico.com/yubico-piv-tool/Releases/${name}.tar.gz";
|
2014-11-26 23:50:15 +00:00
|
|
|
sha256 = "0sqakrlw4j60xhlmp2fq6ccj3lqf13kwvmahsrj3xr5qdi7h0fza";
|
2014-10-28 22:35:47 +00: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;
|
|
|
|
};
|
|
|
|
}
|