git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.awslambdaric: init at 1.0.0 (#118771)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

commit5db7e33f1d642852764ce0f756b98cff09cad23f authoraustinbutler <austinbutler@users.noreply.github.com> dateThu 8 Apr 2021, 04:10 (6 years ago) parent37d1391
2 files changed+37
pkgs/development/python-modules/awslambdaric/default.nix+35 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/awslambdaric/default.nixnew file+35
@@ -0,0 +1,35 @@
1+{ lib, buildPythonPackage, fetchFromGitHub, isPy27, pytestCheckHook, autoconf
2+, automake, cmake, gcc, libtool, perl, simplejson }:
3+
4+buildPythonPackage rec {
5+ pname = "awslambdaric";
6+ version = "1.0.0";
7+ disabled = isPy27;
8+
9+ src = fetchFromGitHub {
10+ owner = "aws";
11+ repo = "aws-lambda-python-runtime-interface-client";
12+ rev = "v${version}";
13+ sha256 = "13v1lsp3lxbqknvlb3gvljjf3wyrx5jg8sf9yfiaj1sm8pb8pmrf";
14+ };
15+
16+ propagatedBuildInputs = [ simplejson ];
17+
18+ nativeBuildInputs = [ autoconf automake cmake libtool perl ];
19+
20+ buildInputs = [ gcc ];
21+
22+ dontUseCmakeConfigure = true;
23+
24+ checkInputs = [ pytestCheckHook ];
25+
26+ pythonImportsCheck = [ "awslambdaric" "runtime_client" ];
27+
28+ meta = with lib; {
29+ description = "AWS Lambda Runtime Interface Client for Python";
30+ homepage = "https://github.com/aws/aws-lambda-python-runtime-interface-client";
31+ license = licenses.asl20;
32+ maintainers = with maintainers; [ austinbutler ];
33+ platforms = platforms.linux;
34+ };
35+}
pkgs/top-level/python-packages.nix+2
@@ -652,6 +652,8 @@ in {
652652
653653 awsiotpythonsdk = callPackage ../development/python-modules/awsiotpythonsdk { };
654654
655+ awslambdaric = callPackage ../development/python-modules/awslambdaric { };
656+
655657 axis = callPackage ../development/python-modules/axis { };
656658
657659 azure-appconfiguration = callPackage ../development/python-modules/azure-appconfiguration { };