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:
Lancelot SIX 2019-08-22 14:51:59 +02:00
parent 2558929984
commit 2798da019f
No known key found for this signature in database
GPG Key ID: 02E1542BA66FB047
1 changed files with 3 additions and 1 deletions

View File

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