21 buildPythonPackage rec {
25 src = fetchFromGitHub {
28 rev = "refs/tags/v${version}";
29 hash = "sha256-8HrPnMmzoxgAhu3Qm18FBJ3kNoGOD7bGmI1t7tcETwM=";
33 substituteInPlace setup.cfg \
34 --replace "requests>=2.20.0,<2.26" "requests~=2.20" \
35 --replace "cachetools~=5.0.0" "cachetools~=5.0" \
36 --replace "boto3>=1.20,<1.25.0" "boto3~=1.20"
39 propagatedBuildInputs = [
57 pythonImportsCheck = [ "localstack" ];
59 # Test suite requires boto, which has been removed from nixpkgs
60 # Just do minimal test, buildPythonPackage maps checkPhase
61 # to installCheckPhase, so we can test that entrypoint point works.
63 $out/bin/localstack --version
67 description = "A fully functional local Cloud stack";
68 homepage = "https://github.com/localstack/localstack";
69 license = licenses.asl20;
70 maintainers = with maintainers; [ jonringer ];