python3Packages.aws-lambda-builders: disable on older Python releases

main
Fabian Affolter 2 years ago committed by GitHub
parent 8c657a6181
commit 55a717e015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      pkgs/development/python-modules/aws-lambda-builders/default.nix

@ -2,19 +2,19 @@
, buildPythonPackage
, fetchFromGitHub
, six
, pathlib
, pytest
, mock
, parameterized
, isPy27
, isPy35
, pythonOlder
}:
buildPythonPackage rec {
pname = "aws-lambda-builders";
version = "1.13.0";
format = "setuptools";
disabled = pythonOlder "3.7";
# No tests available in PyPI tarball
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-lambda-builders";
@ -22,12 +22,9 @@ buildPythonPackage rec {
sha256 = "sha256-t04g65TPeOYgEQw6kPJrlJN1ssQrsN9kl7g69J4pPwo=";
};
# Package is not compatible with Python 3.5
disabled = isPy35;
propagatedBuildInputs = [
six
] ++ lib.optionals isPy27 [ pathlib ];
];
checkInputs = [
pytest

Loading…
Cancel
Save