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:
Jonathan Ringer 2020-12-01 08:12:03 -08:00
parent 6231eb49f2
commit 38ab53776e

View file

@ -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;