Skip to content

Commit

Permalink
pythonPackages.pyotp: disable on Python27
Browse files Browse the repository at this point in the history
  • Loading branch information
IvarWithoutBones committed Oct 23, 2020
1 parent 1687c71 commit 7a34808
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/development/python-modules/pyotp/default.nix
@@ -1,14 +1,17 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib, buildPythonPackage, fetchPypi, isPy27 }:

buildPythonPackage rec {
pname = "pyotp";
version = "2.4.0";
disabled = isPy27;

src = fetchPypi {
inherit pname version;
sha256 = "01eceab573181188fe038d001e42777884a7f5367203080ef5bda0e30fe82d28";
};

pythonImportsCheck = [ "pyotp" ];

meta = with lib; {
description = "Python One Time Password Library";
homepage = "https://github.com/pyotp/pyotp";
Expand Down

0 comments on commit 7a34808

Please sign in to comment.