about summary refs log tree commit diff
path: root/pkgs/development/python-modules/yubico-client/default.nix
blob: e39b11f6200c1f9b6ba4f5340bc91e4047e68ea4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildPythonPackage, fetchPypi
, requests }:

buildPythonPackage rec {
  pname = "yubico-client";
  version = "1.11.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "c1d1c1f918c058932493c5a50341583e48487264129ed5b973c327ae48afed87";
  };

  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;
  };
}