pythonPackages.convertdate: dropped support for Python 2

This commit is contained in:
Robert Schütz 2021-03-10 15:08:30 +01:00
parent 29b0d4d0b6
commit fd67fc5dd4
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, isPy27
, fetchFromGitHub , fetchFromGitHub
, pymeeus , pymeeus
, pytz , pytz
@ -10,6 +11,8 @@ buildPythonPackage rec {
pname = "convertdate"; pname = "convertdate";
version = "2.3.0"; version = "2.3.0";
disabled = isPy27;
# Tests are not available in the PyPI tarball so use GitHub instead. # Tests are not available in the PyPI tarball so use GitHub instead.
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fitnr"; owner = "fitnr";