Vincent Vanlaer
eb3b7028d5
pip: allow git+ssh dependencies
2024-01-23 20:31:31 +07:00
Herman Fries
774019d486
lock: Extend environment instead of replacing it
...
This allows running impure commands, that rely on user's configuration. E.g. to access a private gitlab project.
2024-01-20 02:05:05 +00:00
Johannes Kirschbauer
bf07b8fb37
add filesystem test
2024-01-19 12:02:18 +00:00
Johannes Kirschbauer
df26fb319f
simplify graph methods & add more tests for fileSystem
2024-01-19 12:02:18 +00:00
DavHau
4f2a64a66f
nodejs-v3-builder: ensure top-level config is exported
2024-01-18 13:22:00 +00:00
Johannes Kirschbauer
a27d3894ae
Feat/group pkgs versions ( #757 )
...
* add derived graph
* rework graph sanitizing based on list keys
* figure out details for builder
* format stuff!
* try get groups working
* nodejs: fixups for new v3 builder
Co-authored-by: Johannes Kirschbauer <hsjobeki@gmail.com>
---------
Co-authored-by: DavHau <hsngrmpf+github@gmail.com>
2024-01-18 19:56:00 +07:00
Johannes Kirschbauer
57fd52adcd
run install scripts: init
...
add option: 'trustedDeps'. Only install scripts of explizit added dependencies are run.
In the future there may be wildcards to allow running all install scripts
2024-01-18 09:15:06 +00:00
f
0af1c36d17
change empty string to empty array
2024-01-17 12:56:20 +07:00
phaer
3fc4a2ad97
pdm: only default to given python3 in overrideAll.
2024-01-17 12:50:16 +07:00
dependabot[bot]
5fd5e3ea18
chore(deps): bump cachix/install-nix-action from 24 to 25
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 24 to 25.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](7ac1ec2549...6004951b18
)
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 21:50:53 +00:00
Johannes Kirschbauer
8300ad2d78
add custom unpackPhase from the original nodejs builder
...
- [x] examples still build
2024-01-12 17:03:39 +07:00
DavHau
00f1223642
pdm: default to setuptools as build system
...
This is the upstream default, so it doesn't hut to just include it everywhere
2024-01-08 15:45:18 +00:00
DavHau
ca706acbad
pdm: lock fully, remove --refresh
...
--refresh only works well with already existing lock files
2024-01-08 22:41:18 +07:00
DavHau
0fb528d452
pdm: refresh pdm.lock on 'nix run .#{package}.lock'
2024-01-07 17:40:55 +00:00
DavHau
28f44827e4
fix(pip): prevent conflict if setuptools is runtime dependency
2024-01-07 13:33:48 +00:00
DavHau
935df57a46
pip: add test can-build-setuptools
...
to ensure that a setuptools dependency doesn't raise a collision
2024-01-07 13:00:47 +00:00
DavHau
a6837ba21e
pip: switch to format = "pyproject"
...
This should resolve collision issues with the setuptools that gets propagated by setuptoolsBuildHook
2024-01-07 12:37:25 +00:00
DavHau
0f2d06b43e
examples: add readme for packages examples
2024-01-07 06:28:34 +00:00
DavHau
62f9486535
overrides: add pillow, psycopg2
2024-01-06 09:49:31 +00:00
Arnout Engelen
1741d0785e
nodejs-package-lock-v3: basic support for git+ urls
2024-01-03 10:09:30 +07:00
Arnout Engelen
2998fff950
nodejs-package-json(-v3): add git to the npm lock fetch script path
2024-01-03 10:09:30 +07:00
DavHau
262198033e
python/pdm: patch binaries + set some better defaults
2023-12-13 08:50:30 +00:00
DavHau
c073bd2a79
pyproject.nix: switch to dream2nix fork
...
... until the open PRs are merged
2023-12-13 07:43:18 +00:00
DavHau
67c1356f20
update nixpkgs
2023-12-12 09:52:44 +00:00
DavHau
1d63a866d7
python/pdm: use fetchFromLegacy
...
...until https://github.com/nix-community/pyproject.nix/pull/41 is resolved
2023-12-12 12:28:47 +07:00
DavHau
f3b369dd44
docs: fix deployment job
2023-12-10 07:28:09 +00:00
DavHau
6aa5a29244
chore: remove more unnecessary flake outputs
...
...to make buildbot eval quicker
2023-12-10 06:10:36 +00:00
DavHau
95fa909f84
docs: remove spam from flake-outputs
...
...instead use internal options to pass the module docs pages to the renderer
2023-12-10 06:03:22 +00:00
DavHau
3f6c7cbd80
python/pdm: several improvements
...
- infer build-systems from pyproject.toml
- add more generic getClosure lib function to get the closure of any given dependency + extra
- resolve extras correctly for each computed closure
- overhaul some of the existing tests
2023-12-10 05:47:44 +00:00
DavHau
916bca75a1
nixpkgs-overrides: map env field correctly
...
Now that mkDerivation also has an `env` flag, we need to make sure to not forward this to mkDerivation, as we have our own env option.
2023-12-09 11:13:33 +00:00
dependabot[bot]
652ff77437
chore(deps): bump cachix/install-nix-action from 23 to 24
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](6a9a9e84a1...7ac1ec2549
)
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 21:28:33 +00:00
DavHau
7292ee5455
python/pdm: improve implementation and UI
...
- implement per dependency sourceSelector option
- update pyproject.nix
- update nix-unit
2023-12-04 07:46:08 +00:00
DavHau
9ce00f86e9
update pyproject-nix
2023-12-03 10:35:52 +00:00
DavHau
4b155e6a5d
docs: render docs also for core modules
2023-12-03 08:53:50 +00:00
DavHau
2f344133c3
groups: rename to WIP-groups
...
to make the status of this module more clear
2023-12-03 07:41:58 +00:00
Vincent Vanlaer
427b5e94f4
pip: disable cache for modified response
...
The pypi proxy filters packages, which can end up corrupting the pip
cache. For an example of what this would look like, see
https://github.com/pypi/warehouse/issues/14457 This commit prevents the
the cache from storing our modified response by adding a 'Vary: *'
header. Judging from the caching code, this is the least intrusive
approach to prevent caching ('Cache-Control: no-cache' deletes existing
caches for example).
2023-11-20 09:52:10 +07:00
DavHau
c25e88974f
nodejs-devshell-v3: init
2023-11-17 07:35:09 +00:00
DavHau
db35339b1e
test: add per module testing infra
...
So far, /examples was the only place with packages that are built in the CI pipeline.
This change allows us to add package build tests to individual modules at the location where the module is defined. This has several benefits:
- We are not forced to add unnecessary examples in order to maintain test coverage
- When modules get removed, their tests will be removed alongside
- It allows us to keep old modules around and assure they keep working without having to keep outdated examples in /examples
2023-11-17 07:27:54 +00:00
DavHau
8db4cb1121
examples: minimize nodejs-project example
2023-11-15 08:44:40 +00:00
Yusuf Bera Ertan
3f1cbc8e93
feat(rust): update & support crane version v0.15.0, fix some issues ( #788 )
2023-11-10 17:11:30 +10:00
Yusuf Bera Ertan
f1a9f36bf7
fix(rust-cargo-lock): handle workspace = true for license, description and homepage package attributes ( #787 )
2023-11-09 00:11:56 +10:00
DavHau
7cb0fded82
nodejs: fix backward compat for nodejs-package-json
...
- revert recent changes on nodejs-package-json
- instead introduce nodejs-package-json-v3
This way, existing users won't face breakages in the api
2023-11-08 07:34:15 +00:00
DavHau
24e81d5ce8
examples: rename repo examples
2023-11-07 19:08:27 +07:00
DavHau
1c47a7cfba
examples: move repo-flake-groups to /misc/drafts
2023-11-07 19:08:27 +07:00
DavHau
3030cd5877
examples/python-pdm: migrate to ./packages
2023-11-07 19:08:27 +07:00
DavHau
bce7ab631d
nodejs-package-json: use v3 lock file
2023-11-07 18:45:35 +07:00
DavHau
9f507c9341
docs: improve docs for groups
2023-11-07 16:34:00 +07:00
DavHau
3b42e5a8e4
docs: fix missing options for modules
...
- render all top-level options declared by a module
2023-11-07 16:34:00 +07:00
DavHau
edda831f76
groups: update readme
2023-11-07 15:39:25 +07:00
DavHau
0e36d8d42b
flake: add back checks, devShells, packages, templates
2023-11-05 03:42:18 +00:00