pythonPackages.pyowm: disable python2
- Python2 support has been deprecated in 2.9 (https://github.com/csparpa/pyowm/releases/tag/2.9.0) - Python-3.3 support dropped in 2.10 (https://github.com/csparpa/pyowm/releases/tag/2.10)
This commit is contained in:
parent
2558929984
commit
2798da019f
|
@ -1,9 +1,11 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, requests, geojson }:
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, requests, geojson }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyowm";
|
||||
version = "2.10.0";
|
||||
|
||||
disabled = pythonOlder "3.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8fd41a18536f4d6c432bc6d9ea69994efb1ea9b43688cf19523659b6f4d86cf7";
|
||||
|
|
Loading…
Reference in New Issue