linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / awslambdaric / default.nix
blobff26bb6245d59fd6fd82dc0ab410bc3caf9a7695
1 { lib, buildPythonPackage, fetchFromGitHub, isPy27, pytestCheckHook, autoconf
2 , automake, cmake, gcc, libtool, perl, simplejson }:
4 buildPythonPackage rec {
5   pname = "awslambdaric";
6   version = "1.0.0";
7   disabled = isPy27;
9   src = fetchFromGitHub {
10     owner = "aws";
11     repo = "aws-lambda-python-runtime-interface-client";
12     rev = "v${version}";
13     sha256 = "13v1lsp3lxbqknvlb3gvljjf3wyrx5jg8sf9yfiaj1sm8pb8pmrf";
14   };
16   propagatedBuildInputs = [ simplejson ];
18   nativeBuildInputs = [ autoconf automake cmake libtool perl ];
20   buildInputs = [ gcc ];
22   dontUseCmakeConfigure = true;
24   checkInputs = [ pytestCheckHook ];
26   pythonImportsCheck = [ "awslambdaric" "runtime_client" ];
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   };