nixpkgs/pkgs/development/python-modules/pyotp/default.nix

22 lines
518 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, isPy27 }:
2018-08-30 15:33:05 +00:00
buildPythonPackage rec {
pname = "pyotp";
2021-02-07 10:09:06 +00:00
version = "2.6.0";
disabled = isPy27;
2018-08-30 15:33:05 +00:00
src = fetchPypi {
inherit pname version;
2021-02-07 10:09:06 +00:00
sha256 = "d28ddfd40e0c1b6a6b9da961c7d47a10261fb58f378cb00f05ce88b26df9c432";
2018-08-30 15:33:05 +00:00
};
pythonImportsCheck = [ "pyotp" ];
2018-08-30 15:33:05 +00:00
meta = with lib; {
description = "Python One Time Password Library";
2021-02-07 10:09:06 +00:00
homepage = "https://github.com/pyauth/pyotp";
2018-08-30 15:33:05 +00:00
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}