forked from mirrors/nixpkgs
23 lines
620 B
Nix
23 lines
620 B
Nix
{ stdenv, fetchurl, pkgconfig, openssl, pcsclite }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "yubico-piv-tool-0.1.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://developers.yubico.com/yubico-piv-tool/Releases/${name}.tar.gz";
|
|
sha256 = "0sqakrlw4j60xhlmp2fq6ccj3lqf13kwvmahsrj3xr5qdi7h0fza";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|