Skip to content

Commit

Permalink
fix: Add cdk-nag setuptools dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
l0b0 committed Sep 13, 2023
1 parent 1ca97ba commit 952b7e3
Show file tree
Hide file tree
Showing 5 changed files with 299 additions and 0 deletions.
3 changes: 3 additions & 0 deletions overrides/build-systems.json
Original file line number Diff line number Diff line change
Expand Up @@ -2732,6 +2732,9 @@
"cdcs": [
"setuptools"
],
"cdk-nag": [
"setuptools"
],
"celery": [
"setuptools"
],
Expand Down
4 changes: 4 additions & 0 deletions tests/cdk-nag/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{ poetry2nix }:
poetry2nix.mkPoetryEnv {
projectDir = ./.;
}
278 changes: 278 additions & 0 deletions tests/cdk-nag/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions tests/cdk-nag/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[tool.poetry]
name = "cdk-nag-test"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.10"
cdk-nag = "*"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
1 change: 1 addition & 0 deletions tests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ in

affine = callTest ./affine { };
affine-pre-2-4 = callTest ./affine-pre-2-4 { };
cdk-nag = callTest ./cdk-nag { };
gdal = callTest ./gdal { };
gitlint-core = callTest ./gitlint-core { };
gitlint = callTest ./gitlint { };
Expand Down

0 comments on commit 952b7e3

Please sign in to comment.