python3Packages.localstack*: add localstack as test

This commit is contained in:
Jonathan Ringer 2022-10-24 07:30:44 -07:00 committed by Jonathan Ringer
parent 831fe25421
commit 7b0122aede
2 changed files with 14 additions and 0 deletions

View File

@ -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";

View File

@ -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";