From 7b0122aede0382ec215b8d455d821d7134515979 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 24 Oct 2022 07:30:44 -0700 Subject: [PATCH] python3Packages.localstack*: add localstack as test --- .../python-modules/localstack-client/default.nix | 7 +++++++ pkgs/development/python-modules/localstack-ext/default.nix | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/pkgs/development/python-modules/localstack-client/default.nix b/pkgs/development/python-modules/localstack-client/default.nix index 020b8eed6334..97cbd9968a10 100644 --- a/pkgs/development/python-modules/localstack-client/default.nix +++ b/pkgs/development/python-modules/localstack-client/default.nix @@ -3,6 +3,9 @@ , fetchFromGitHub , boto3 , pytestCheckHook + +# downstream dependencies +, localstack }: buildPythonPackage rec { @@ -39,6 +42,10 @@ buildPythonPackage rec { # For tests __darwinAllowLocalNetworking = true; + passthru.tests = { + inherit localstack; + }; + meta = with lib; { description = "A lightweight Python client for LocalStack"; homepage = "https://github.com/localstack/localstack-python-client"; diff --git a/pkgs/development/python-modules/localstack-ext/default.nix b/pkgs/development/python-modules/localstack-ext/default.nix index 02cc6cbf218d..a3d323edf983 100644 --- a/pkgs/development/python-modules/localstack-ext/default.nix +++ b/pkgs/development/python-modules/localstack-ext/default.nix @@ -9,6 +9,9 @@ , python-jose , requests , tabulate + +# Sensitive downstream dependencies +, localstack }: buildPythonPackage rec { @@ -50,6 +53,10 @@ buildPythonPackage rec { # No tests in repo doCheck = false; + passthru.tests = { + inherit localstack; + }; + meta = with lib; { description = "Extensions for LocalStack"; homepage = "https://github.com/localstack/localstack";