2019-01-31 03:15:05 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "yubico-client";
|
2019-12-19 19:31:26 +00:00
|
|
|
version = "1.12.0";
|
2019-01-31 03:15:05 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:26 +00:00
|
|
|
sha256 = "1d74c6341210c94b639f7c7c8930550e73d5c1be60402e418e9dc95e038f8527";
|
2019-01-31 03:15:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
# pypi package missing test_utils and github releases is behind
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Verifying Yubico OTPs based on the validation protocol version 2.0";
|
|
|
|
homepage = https://github.com/Kami/python-yubico-client/;
|
|
|
|
maintainers= with maintainers; [ peterromfeldhk ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|