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

22 lines
517 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, isPy27 }:
2018-08-30 15:33:05 +00:00
buildPythonPackage rec {
pname = "pyotp";
2020-08-16 17:31:12 +00:00
version = "2.4.0";
disabled = isPy27;
2018-08-30 15:33:05 +00:00
src = fetchPypi {
inherit pname version;
2020-08-16 17:31:12 +00:00
sha256 = "01eceab573181188fe038d001e42777884a7f5367203080ef5bda0e30fe82d28";
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";
homepage = "https://github.com/pyotp/pyotp";
2018-08-30 15:33:05 +00:00
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}