My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/aws-lambda-builders/default.nix

50 lines
1.0 KiB

{ lib
, buildPythonPackage
, fetchFromGitHub
, six
, pytest
, mock
, parameterized
, pythonOlder
}:
buildPythonPackage rec {
pname = "aws-lambda-builders";
version = "1.16.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-lambda-builders";
rev = "refs/tags/v${version}";
sha256 = "sha256-XJDukyYTtnAHiHACi5gEJ9VPjqv8Y4V7oe4q3l5fpMA=";
};
propagatedBuildInputs = [
six
];
checkInputs = [
pytest
mock
parameterized
];
checkPhase = ''
export PATH=$out/bin:$PATH
pytest tests/functional -k 'not can_invoke_pip'
'';
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 ];
};
}