pythonPackages.pyotp: disable on Python27
This commit is contained in:
parent
1687c719f8
commit
7a34808502
1 changed files with 4 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue