1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-03 22:32:26 +03:00
nixpkgs/pkgs/development/python-modules/pyotp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
505 B
Nix
Raw Normal View History

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