pythonPackages.secure: disable for python2, not supported

Processing ./secure-0.2.1-py2-none-any.whl
ERROR: Package 'secure' requires a different Python: 2.7.18 not in '>=3'
This commit is contained in:
Jonathan Ringer 2020-05-03 11:17:49 -07:00 committed by Jon
parent 132664e8fb
commit 69ebdd78be

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub { lib, buildPythonPackage, fetchFromGitHub, isPy27
, maya , maya
, requests , requests
}: }:
@ -6,6 +6,7 @@
buildPythonPackage rec { buildPythonPackage rec {
version = "0.2.1"; version = "0.2.1";
pname = "secure"; pname = "secure";
disabled = isPy27;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "typeerror"; owner = "typeerror";