nixpkgs/pkgs/development/python-modules/yubico-client/default.nix

25 lines
652 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi
, requests }:
buildPythonPackage rec {
pname = "yubico-client";
version = "1.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "e3b86cd2a123105edfacad40551c7b26e9c1193d81ffe168ee704ebfd3d11162";
};
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;
};
}