mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
23 lines
620 B
Nix
23 lines
620 B
Nix
{ stdenv, fetchurl, pkgconfig, openssl, pcsclite }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "yubico-piv-tool-1.0.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://developers.yubico.com/yubico-piv-tool/Releases/${name}.tar.gz";
|
|
sha256 = "1l12bkyqs38212rizda6s3mypfr4wdiap0yhqfwx86lqcp4h0yb9";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|