python: remove isPy33, isPy34

This commit is contained in:
Pavol Rusnak
2020-05-04 20:32:01 +02:00
committed by Jon
parent 3dca1ffee8
commit 420124adf8
13 changed files with 18 additions and 31 deletions

View File

@@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi
, isPy27, isPy34
, isPy27
, pylev, pastel, typing, enum34 }:
buildPythonPackage rec {
@@ -13,8 +13,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
pylev pastel
] ++ lib.optional (isPy27 || isPy34) typing
++ lib.optional isPy27 enum34;
] ++ lib.optionals isPy27 [ typing enum34 ];
# The Pypi tarball doesn't include tests, and the GitHub source isn't
# buildable until we bootstrap poetry, see