Skip to content

Commit

Permalink
Additional build-systems entries
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Sep 22, 2023
1 parent 406a978 commit 499f61b
Show file tree
Hide file tree
Showing 11 changed files with 1,440 additions and 0 deletions.
15 changes: 15 additions & 0 deletions overrides/build-systems.json
Original file line number Diff line number Diff line change
Expand Up @@ -16795,6 +16795,10 @@
"shamir-mnemonic": [
"setuptools"
],
"shandy-sqlfmt": [
"poetry-core",
"setuptools"
],
"shap": [
"setuptools"
],
Expand Down Expand Up @@ -18211,6 +18215,14 @@
"poetry-core",
"setuptools"
],
"textual-dev": [
"poetry-core",
"setuptools"
],
"textual-textarea": [
"poetry-core",
"setuptools"
],
"textwrap3": [
"setuptools"
],
Expand Down Expand Up @@ -18566,6 +18578,9 @@
"trectools": [
"setuptools"
],
"tree-sitter": [
"setuptools"
],
"treelog": [
"setuptools"
],
Expand Down
3 changes: 3 additions & 0 deletions tests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ in
test-group = callTest ./test-group { };
nbconvert-wheel = callTest ./nbconvert-wheel { };
duckdb-wheel = callTest ./duckdb-wheel { };
shandy-sqlfmt = callTest ./shandy-sqlfmt { };
textual-dev = callTest ./textual-dev { };
textual-textarea = callTest ./textual-textarea { };
fiona-source = callTest ./fiona-source { };
fiona-wheel = callTest ./fiona-wheel { };
shapely-wheel = callTest ./shapely-wheel { };
Expand Down
11 changes: 11 additions & 0 deletions tests/shandy-sqlfmt/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{ lib, poetry2nix, python3, runCommand }:
let
env = poetry2nix.mkPoetryEnv {
python = python3;
pyproject = ./pyproject.toml;
poetrylock = ./poetry.lock;
};
in
runCommand "shandy-sqlfmt-test" { } ''
${env}/bin/python -c 'import sqlfmt' > $out
''
98 changes: 98 additions & 0 deletions tests/shandy-sqlfmt/poetry.lock

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

12 changes: 12 additions & 0 deletions tests/shandy-sqlfmt/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[tool.poetry]
name = "shandy-sqlfmt-test"
version = "0.1.0"

[tool.poetry.dependencies]
python = "^3.10"
shandy-sqlfmt = "^0.19.2"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
11 changes: 11 additions & 0 deletions tests/textual-dev/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{ lib, poetry2nix, python3, runCommand }:
let
env = poetry2nix.mkPoetryEnv {
python = python3;
pyproject = ./pyproject.toml;
poetrylock = ./poetry.lock;
};
in
runCommand "textual-dev-test" { } ''
${env}/bin/python -c 'import textual_dev' > $out
''
Loading

0 comments on commit 499f61b

Please sign in to comment.