pythonPackages.aws-lambda-builders: init at 0.2.1
This commit is contained in:
parent
536c72a62b
commit
6663765dbb
@ -0,0 +1,51 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, six
|
||||||
|
, pytest
|
||||||
|
, mock
|
||||||
|
, parameterized
|
||||||
|
, isPy35
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "aws-lambda-builders";
|
||||||
|
version = "0.2.1";
|
||||||
|
|
||||||
|
# No tests available in PyPI tarball
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "awslabs";
|
||||||
|
repo = "aws-lambda-builders";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1pbi6572q1nqs2wd7jx9d5vgf3rqdsqlaz4v8fqvl23wfb2c4vpd";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Package is not compatible with Python 3.5
|
||||||
|
disabled = isPy35;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest
|
||||||
|
mock
|
||||||
|
parameterized
|
||||||
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
export PATH=$out/bin:$PATH
|
||||||
|
pytest tests/functional
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = https://github.com/awslabs/aws-lambda-builders;
|
||||||
|
description = "A tool to compile, build and package AWS Lambda functions";
|
||||||
|
longDescription = ''
|
||||||
|
Lambda Builders is a Python library to compile, build and package
|
||||||
|
AWS Lambda functions for several runtimes & frameworks.
|
||||||
|
'';
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ dhkl ];
|
||||||
|
};
|
||||||
|
}
|
@ -1072,6 +1072,8 @@ in {
|
|||||||
|
|
||||||
avro3k = callPackage ../development/python-modules/avro3k {};
|
avro3k = callPackage ../development/python-modules/avro3k {};
|
||||||
|
|
||||||
|
aws-lambda-builders = callPackage ../development/python-modules/aws-lambda-builders { };
|
||||||
|
|
||||||
python-slugify = callPackage ../development/python-modules/python-slugify { };
|
python-slugify = callPackage ../development/python-modules/python-slugify { };
|
||||||
|
|
||||||
awesome-slugify = callPackage ../development/python-modules/awesome-slugify {};
|
awesome-slugify = callPackage ../development/python-modules/awesome-slugify {};
|
||||||
|
Loading…
Reference in New Issue
Block a user