File tree Expand file tree Collapse file tree 7 files changed +32
-48
lines changed
development/python-modules Expand file tree Collapse file tree 7 files changed +32
-48
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
3- buildPythonPackage ,
3+ python3 ,
44 fetchFromGitHub ,
5- apispec ,
6- boto3 ,
7- build ,
8- cachetools ,
9- click ,
10- cryptography ,
11- localstack-client ,
12- localstack-ext ,
13- plux ,
14- psutil ,
15- python-dotenv ,
16- pyyaml ,
17- packaging ,
18- requests ,
19- rich ,
20- semver ,
21- setuptools ,
22- setuptools-scm ,
23- tailer ,
245} :
256
26- buildPythonPackage rec {
7+ python3 . pkgs . buildPythonApplication rec {
278 pname = "localstack" ;
28- version = "4.0.3 " ;
9+ version = "4.1.1 " ;
2910 pyproject = true ;
3011
3112 src = fetchFromGitHub {
3213 owner = "localstack" ;
3314 repo = "localstack" ;
3415 tag = "v${ version } " ;
35- hash = "sha256-BsmXhTJVvRKEubDQwehsrY2jRSfvDBSH5S35CNg8vrQ =" ;
16+ hash = "sha256-hITo6BAsFNGFG5N0b2N9nydGCsG7ged8/3g0sWovNYw =" ;
3617 } ;
3718
38- build-system = [
19+ build-system = with python3 . pkgs ; [
3920 setuptools
4021 setuptools-scm
4122 ] ;
4223
43- dependencies = [
24+ propagatedBuildInputs = with python3 . pkgs ; [
4425 apispec
4526 boto3
4627 build
@@ -60,7 +41,9 @@ buildPythonPackage rec {
6041 tailer
6142 ] ;
6243
63- pythonRelaxDeps = [ "dill" ] ;
44+ pythonRelaxDeps = [
45+ "dill"
46+ ] ;
6447
6548 pythonImportsCheck = [ "localstack" ] ;
6649
@@ -76,6 +59,12 @@ buildPythonPackage rec {
7659 runHook postCheck
7760 '' ;
7861
62+ # Propagating dependencies leaks them through $PYTHONPATH which causes issues
63+ # when used in nix-shell.
64+ postFixup = ''
65+ rm $out/nix-support/propagated-build-inputs
66+ '' ;
67+
7968 meta = with lib ; {
8069 description = "Fully functional local Cloud stack" ;
8170 homepage = "https://github.com/localstack/localstack" ;
Original file line number Diff line number Diff line change 11{
22 lib ,
33 buildPythonPackage ,
4- fetchFromGitHub ,
4+ fetchPypi ,
55 boto3 ,
66 pytestCheckHook ,
77
8- # downstream dependencies
9- localstack ,
8+ # use for testing promoted localstack
9+ pkgs ,
1010} :
1111
1212buildPythonPackage rec {
1313 pname = "localstack-client" ;
14- version = "1.39 " ;
14+ version = "2.7 " ;
1515 format = "setuptools" ;
1616
17- src = fetchFromGitHub {
18- owner = "localstack" ;
19- repo = "localstack-python-client" ;
20- # Request for proper tags: https://github.com/localstack/localstack-python-client/issues/38
21- rev = "f1e538ad23700e5b1afe98720404f4801475e470" ;
22- hash = "sha256-MBXTiTzCwkduJPPRN7OKaWy2q9J8xCX/GGu09tyac3A=" ;
17+ src = fetchPypi {
18+ pname = "localstack_client" ;
19+ inherit version ;
20+ hash = "sha256-FJkxGZAaS8vvfDLYmbJPSliodaZ2VpPt8QZNZrimhAg=" ;
2321 } ;
2422
2523 propagatedBuildInputs = [ boto3 ] ;
@@ -39,7 +37,7 @@ buildPythonPackage rec {
3937 __darwinAllowLocalNetworking = true ;
4038
4139 passthru . tests = {
42- inherit localstack ;
40+ inherit ( pkgs ) localstack ;
4341 } ;
4442
4543 meta = with lib ; {
Original file line number Diff line number Diff line change 1515 python-dateutil ,
1616 tabulate ,
1717
18- # Sensitive downstream dependencies
19- localstack ,
18+ # use for testing promoted localstack
19+ pkgs ,
2020} :
2121
2222buildPythonPackage rec {
2323 pname = "localstack-ext" ;
24- version = "4.0.3 " ;
24+ version = "4.1.1 " ;
2525 pyproject = true ;
2626
2727 src = fetchPypi {
2828 pname = "localstack_ext" ;
2929 inherit version ;
30- hash = "sha256-vivEdEk32wJln8jfhrAtygO5CEvtsdXI7sxrj0dqIdA =" ;
30+ hash = "sha256-Fgblk8eL5JnF4yLeH73yGuOeH9anSu1o9H1UxcjTyco =" ;
3131 } ;
3232
3333 build-system = [
@@ -60,7 +60,7 @@ buildPythonPackage rec {
6060 doCheck = false ;
6161
6262 passthru . tests = {
63- inherit localstack ;
63+ inherit ( pkgs ) localstack ;
6464 } ;
6565
6666 meta = {
Original file line number Diff line number Diff line change 1010
1111buildPythonPackage rec {
1212 pname = "plux" ;
13- version = "1.11 .0" ;
13+ version = "1.12 .0" ;
1414 pyproject = true ;
1515
1616 # Tests are not available from PyPi
1717 src = fetchFromGitHub {
1818 owner = "localstack" ;
1919 repo = "plux" ;
2020 tag = "v${ version } " ;
21- hash = "sha256-M4N3Ccuw95OcLsWQVtITv4QShBJKliTh5QIoqji8x9o =" ;
21+ hash = "sha256-2Sxn/LuiwTzByAAz7VlNLsxEiPIyJWXr86/76Anx+EU =" ;
2222 } ;
2323
2424 build-system = [
Original file line number Diff line number Diff line change @@ -4131,8 +4131,6 @@ with pkgs;
41314131
41324132 liquidctl = with python3Packages; toPythonApplication liquidctl;
41334133
4134- localstack = with python3Packages; toPythonApplication localstack;
4135-
41364134 xz = callPackage ../tools/compression/xz { };
41374135
41384136 lzwolf = callPackage ../games/lzwolf { SDL2_mixer = SDL2_mixer_2_0; };
Original file line number Diff line number Diff line change @@ -355,6 +355,7 @@ mapAliases ({
355355 livestreamer = throw "'livestreamer' has been removed, as it unmaintained. A currently maintained fork is 'streamlink'." ; # added 2023-11-14
356356 livestreamer-curses = throw "'livestreamer-curses' has been removed as it, and livestreamer itself are unmaintained." ; # added 2023-11-14
357357 lmcloud = pylamarzocco ; # added 2024-11-26
358+ localstack = throw "localstack was promoted to a top-level attribute" ; # added 2025-02-21
358359 logilab_astng = throw "logilab-astng has not been released since 2013 and is unmaintained" ; # added 2022-11-29
359360 logilab_common = logilab-common ; # added 2022-11-21
360361 loo-py = loopy ; # added 2022-05-03
Original file line number Diff line number Diff line change @@ -7832,8 +7832,6 @@ self: super: with self; {
78327832
78337833 localimport = callPackage ../development/python-modules/localimport { };
78347834
7835- localstack = callPackage ../development/python-modules/localstack { };
7836-
78377835 localstack-client = callPackage ../development/python-modules/localstack-client { };
78387836
78397837 localstack-ext = callPackage ../development/python-modules/localstack-ext { };
You can’t perform that action at this time.
0 commit comments