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