mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
22 lines
620 B
Nix
22 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;
|
|
};
|
|
}
|