pythonPackages.freezegun: disable python2
``` Processing ./freezegun-1.0.0-py2.py3-none-any.whl ERROR: Package 'freezegun' requires a different Python: 2.7.18 not in '>=3.5' ```
This commit is contained in:
parent
6231eb49f2
commit
38ab53776e
|
@ -1,5 +1,6 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, dateutil
|
||||
|
@ -12,6 +13,7 @@
|
|||
buildPythonPackage rec {
|
||||
pname = "freezegun";
|
||||
version = "1.0.0";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
|
Loading…
Reference in a new issue