python3Packages.snapshot-restore-py: init at 1.0.0; python3Packages.awslambdaric: 3.0.0 -> 3.1.1 (#429949)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
@@ -14,10 +13,11 @@
|
||||
perl,
|
||||
setuptools,
|
||||
simplejson,
|
||||
snapshot-restore-py,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "awslambdaric";
|
||||
version = "3.0.0";
|
||||
version = "3.1.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = isPy27;
|
||||
@@ -29,7 +29,10 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-pUVWd4zpmTygndPIy76uVk7+sLCmwQqulLaUI7B0fQc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ simplejson ];
|
||||
propagatedBuildInputs = [
|
||||
simplejson
|
||||
snapshot-restore-py
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoconf271
|
||||
@@ -55,7 +58,6 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64;
|
||||
description = "AWS Lambda Runtime Interface Client for Python";
|
||||
homepage = "https://github.com/aws/aws-lambda-python-runtime-interface-client";
|
||||
license = licenses.asl20;
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
isPy27,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "snapshot-restore-py";
|
||||
version = "1.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aws";
|
||||
repo = "snapshot-restore-py";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-sixVSQcEqLTUrKxYAM13gzqttWnbXPMII0V/gtXM1IE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "snapshot_restore_py" ];
|
||||
|
||||
meta = {
|
||||
description = "Snapshot Restore for Python library which can be used for registering runtime hooks in Snapstart enabled Python Lambda functions";
|
||||
homepage = "https://github.com/aws/snapshot-restore-py";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ austinbutler ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -16687,6 +16687,8 @@ self: super: with self; {
|
||||
|
||||
snappy-manifolds = callPackage ../development/python-modules/snappy-manifolds { };
|
||||
|
||||
snapshot-restore-py = callPackage ../development/python-modules/snapshot-restore-py { };
|
||||
|
||||
snapshottest = callPackage ../development/python-modules/snapshottest { };
|
||||
|
||||
snaptime = callPackage ../development/python-modules/snaptime { };
|
||||
|
||||
Reference in New Issue
Block a user