Skip to content

Commit

Permalink
Merge pull request nix-community#1307 from l0b0/fix/cdk-nag
Browse files Browse the repository at this point in the history
fix: cdk-nag
  • Loading branch information
cpcloud authored Sep 22, 2023
2 parents d36e821 + 952b7e3 commit af11139
Show file tree
Hide file tree
Showing 5 changed files with 302 additions and 0 deletions.
6 changes: 6 additions & 0 deletions overrides/build-systems.json
Original file line number Diff line number Diff line change
Expand Up @@ -1368,6 +1368,9 @@
"aws-cdk-asset-node-proxy-agent-v5": [
"setuptools"
],
"aws-cdk-asset-node-proxy-agent-v6": [
"setuptools"
],
"aws-cdk-assets": [
"setuptools"
],
Expand Down Expand Up @@ -2729,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 af11139

Please sign in to comment.