Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

Commit 8a8fc21

Browse files
authored
Merge pull request #1240 from dsalaza4/main
feat(back): #1171 use new builtin
2 parents 8846eec + baa398f commit 8a8fc21

10 files changed

Lines changed: 1013 additions & 19 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{makePythonPypiEnvironment, ...}:
2-
makePythonPypiEnvironment {
3-
name = "cli-env-runtime-pypi";
4-
sourcesYaml = ./pypi-sources.yaml;
1+
{makePythonEnvironment, ...}:
2+
makePythonEnvironment {
3+
pythonProjectDir = ./.;
4+
pythonVersion = "3.11";
55
}

makes/cli/env/runtime/pypi/poetry.lock

Lines changed: 67 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[tool.poetry]
2+
name = "makes-cli"
3+
version = "0.1.0"
4+
description = ""
5+
authors = ["Your Name <you@example.com>"]
6+
readme = "README.md"
7+
8+
[tool.poetry.dependencies]
9+
python = "^3.11"
10+
rich = "12.6.0"
11+
textual = "0.1.18"
12+
13+
14+
[build-system]
15+
requires = ["poetry-core"]
16+
build-backend = "poetry.core.masonry.api"

makes/cli/env/test/main.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{makePythonPypiEnvironment, ...}:
2-
makePythonPypiEnvironment {
3-
name = "cli-env-test";
4-
sourcesYaml = ./pypi-sources.yaml;
1+
{makePythonEnvironment, ...}:
2+
makePythonEnvironment {
3+
pythonProjectDir = ./.;
4+
pythonVersion = "3.12";
55
}

makes/cli/env/test/poetry.lock

Lines changed: 156 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

makes/cli/env/test/pyproject.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[tool.poetry]
2+
name = "makes-cli-env-test"
3+
version = "0.1.0"
4+
description = ""
5+
authors = ["Your Name <you@example.com>"]
6+
readme = "README.md"
7+
8+
[tool.poetry.dependencies]
9+
python = "^3.11"
10+
pytest = "7.4.4"
11+
pytest-cov = "4.1.0"
12+
13+
14+
[build-system]
15+
requires = ["poetry-core"]
16+
build-backend = "poetry.core.masonry.api"

makes/docs/runtime/main.nix

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
11
{
2-
makePythonPypiEnvironment,
3-
makeSearchPaths,
42
__nixpkgs__,
3+
makePythonEnvironment,
4+
makeSearchPaths,
5+
outputs,
56
...
67
}:
78
makeSearchPaths {
89
bin = [
910
__nixpkgs__.git
1011
__nixpkgs__.mkdocs
1112
];
12-
source = [
13-
(makePythonPypiEnvironment {
14-
name = "docs-runtime-pypi";
15-
sourcesYaml = ./pypi/sources.yaml;
16-
withSetuptools_67_7_2 = true;
17-
withSetuptoolsScm_7_1_0 = true;
18-
withWheel_0_40_0 = true;
19-
})
20-
];
13+
source = [outputs."/docs/runtime/pypi"];
2114
}

makes/docs/runtime/pypi/main.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{makePythonEnvironment, ...}:
2+
makePythonEnvironment {
3+
pythonProjectDir = ./.;
4+
pythonVersion = "3.11";
5+
overrides = self: super: {
6+
mkdocs-material =
7+
super.mkdocs-material.overridePythonAttrs
8+
(old: {patchPhase = "echo Skip patchPhase";});
9+
};
10+
}

0 commit comments

Comments
 (0)