diff options
author | austinbutler <austinbutler@users.noreply.github.com> | 2021-04-08 04:10:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-08 13:10:16 +0200 |
commit | 5db7e33f1d642852764ce0f756b98cff09cad23f (patch) | |
tree | 925cc325b26bf8627d173eb25202bde69bde4b9e /pkgs/development/python-modules/awslambdaric | |
parent | 37d13912a7f2d184723261835f88bf9d59554599 (diff) | |
download | nixlib-5db7e33f1d642852764ce0f756b98cff09cad23f.tar nixlib-5db7e33f1d642852764ce0f756b98cff09cad23f.tar.gz nixlib-5db7e33f1d642852764ce0f756b98cff09cad23f.tar.bz2 nixlib-5db7e33f1d642852764ce0f756b98cff09cad23f.tar.lz nixlib-5db7e33f1d642852764ce0f756b98cff09cad23f.tar.xz nixlib-5db7e33f1d642852764ce0f756b98cff09cad23f.tar.zst nixlib-5db7e33f1d642852764ce0f756b98cff09cad23f.zip |
python3Packages.awslambdaric: init at 1.0.0 (#118771)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/development/python-modules/awslambdaric')
-rw-r--r-- | pkgs/development/python-modules/awslambdaric/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/awslambdaric/default.nix b/pkgs/development/python-modules/awslambdaric/default.nix new file mode 100644 index 000000000000..ff26bb6245d5 --- /dev/null +++ b/pkgs/development/python-modules/awslambdaric/default.nix @@ -0,0 +1,35 @@ +{ lib, buildPythonPackage, fetchFromGitHub, isPy27, pytestCheckHook, autoconf +, automake, cmake, gcc, libtool, perl, simplejson }: + +buildPythonPackage rec { + pname = "awslambdaric"; + version = "1.0.0"; + disabled = isPy27; + + src = fetchFromGitHub { + owner = "aws"; + repo = "aws-lambda-python-runtime-interface-client"; + rev = "v${version}"; + sha256 = "13v1lsp3lxbqknvlb3gvljjf3wyrx5jg8sf9yfiaj1sm8pb8pmrf"; + }; + + propagatedBuildInputs = [ simplejson ]; + + nativeBuildInputs = [ autoconf automake cmake libtool perl ]; + + buildInputs = [ gcc ]; + + dontUseCmakeConfigure = true; + + checkInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "awslambdaric" "runtime_client" ]; + + meta = with lib; { + description = "AWS Lambda Runtime Interface Client for Python"; + homepage = "https://github.com/aws/aws-lambda-python-runtime-interface-client"; + license = licenses.asl20; + maintainers = with maintainers; [ austinbutler ]; + platforms = platforms.linux; + }; +} |