Commit Graph

1575 Commits

Author SHA1 Message Date
DavHau
3cf6d7fcac chore(formatting): use alejandra from nixpkgs 2023-03-13 12:46:11 +07:00
DavHau
ac63eb584f feat: integrate v1 into top-level fake 2023-03-13 12:46:11 +07:00
DavHau
93102e5fdf feat(mach-nix): init module nixpkgs-overrides 2023-03-13 12:46:11 +07:00
DavHau
6210b38ef3 chore: switch nixpkgs to nixos-22.11 and update FOD hashes 2023-03-13 12:46:11 +07:00
phaer
71c396138c feat(mach-nix): use drv-parts for dependencies. 2023-03-13 12:46:11 +07:00
phaer
52a6fc802a style(mach-nix): add makeModuleFromDerivation 2023-03-13 12:46:11 +07:00
phaer
d1ff045a1b style(mach-nix): manualSetupDeps -> mkWheelDist 2023-03-13 12:46:11 +07:00
phaer
173d76b688 feat(mach-nix): wip, split nixpkgsAttrs -> module 2023-03-13 12:46:11 +07:00
phaer
169da1c545 style(mach-nix): refactor wheel preparation 2023-03-13 12:46:11 +07:00
phaer
61c0f29e86 style(mach-nix): reorder, consolidate distDir...
..naming, inline isWheel
2023-03-13 12:46:11 +07:00
phaer
6fd4c8a93b chore(mach-nix): inline only use of getDistDir 2023-03-13 12:46:11 +07:00
DavHau
c04a8a7ea7 chore: adapt to apache-airflow to new interface 2023-03-13 12:46:11 +07:00
DavHau
30e04b5316 feat(mach-nix): cache dependency tree 2023-03-13 12:46:11 +07:00
DavHau
faec8a4156 feat: add buildPythonPackage module 2023-03-13 12:46:11 +07:00
DavHau
39cc8d24f4 update FOD hash of apache-airflow 2023-03-13 12:46:11 +07:00
DavHau
2cdc1aa0e0 feat: use dependency tree only for sdist builds 2023-03-13 12:46:11 +07:00
DavHau
8ea18aa69a fix(python): nativeBuildInputs not applied 2023-03-13 12:46:11 +07:00
phaer
123e6cfe7a wip: use new drv-parts mkDerivation interface 2023-03-13 12:46:11 +07:00
phaer
b2024ad22e move dependency analysis to fetch-python-reqs...
..to require only one IFD
2023-03-13 12:46:11 +07:00
phaer
e5a8cd6e69 chore, mach-nix-xs: use dict for dep tree 2023-03-13 12:46:11 +07:00
phaer
5427ea668e fetch-python-requirements: make more robust...
...and handle packages which might not even contain
a PKG_INFO. They could still include requirements.txt, otherwise
no dependencies are assumed.
2023-03-13 12:46:11 +07:00
phaer
724ed96702 use drv-parts.derivationFromModules for deps 2023-03-13 12:46:11 +07:00
phaer
907f9a9003 proof-of-concept: granular python builder 2023-03-13 12:46:11 +07:00
DavHau
05f35fcbb7 chore: add comments to packages.nix 2023-03-13 12:46:11 +07:00
DavHau
8759480041 feat(mkDerivation-based): use mkDerivation-based helper from drv-parts 2023-03-13 12:46:11 +07:00
DavHau
51c92b53b4 feat: update drv-parts (package-func) 2023-03-13 12:46:11 +07:00
DavHau
9cdf46c3da feat: add integration for buildPythonPackage 2023-03-13 12:46:11 +07:00
DavHau
7e72557a5d feat: update drv-parts with public.name etc. 2023-03-13 12:46:11 +07:00
DavHau
4ac734d6f9 feat: update drv-parts with namespaced pkg-funcs 2023-03-13 12:46:11 +07:00
phaer
9ed740937e feat: re-implement fetch-python-requirements...
in python. This canonicalizes package name with the official
`packaging` package and handels TLS ca certificates, so that
pip does not need --trusted-host args anymore.
2023-03-13 12:46:11 +07:00
DavHau
d3a15ccda7 feat: init fetchPythonRequirements 2023-03-13 12:46:11 +07:00
DavHau
9806104d2b feat: init docs (WIP) 2023-03-13 12:46:11 +07:00
DavHau
484a95ef9d fix(writers): fix some bugs 2023-03-13 12:46:11 +07:00
DavHau
74e70cb8ea chore(nix): format writers.nix 2023-03-13 12:46:11 +07:00
phaer
c6973a8d63 fix: don't build toplevel sdists twice...
top-level packages which aren't a wheel, but a source distributions
were built twice - once as a dependency and once in the main derivation.
2023-03-13 12:46:11 +07:00
phaer
b1c8c49015 feat: add pillow 2023-03-13 12:46:11 +07:00
phaer
9b8df26237 chore(mach-nix-rs): fix typos 2023-03-13 12:46:11 +07:00
DavHau
1b445e7719 chore(mach-nix-xs): update drv-parts for better syntax 2023-03-13 12:46:11 +07:00
DavHau
75377f1c7b chore(mach-nix-xs): cleanup/refactor 2023-03-13 12:46:11 +07:00
DavHau
273c29c08c feat(mach-nix-xs): make dists work with autoPatchelfHook 2023-03-13 12:46:11 +07:00
DavHau
724af53688 WIP 2023-03-13 12:46:11 +07:00
DavHau
cd755caee9 chore: update drv-parts 2023-03-13 12:46:11 +07:00
DavHau
18b34afe32 feat: update drv-parts to PR: https://github.com/DavHau/drv-parts/pull/17 2023-03-13 12:46:11 +07:00
DavHau
a57f5b1060 feat(eval-cache): use --no-link for nix-build 2023-03-13 12:46:11 +07:00
DavHau
3665fe169b chore(eval-cache): reword some internals 2023-03-13 12:46:11 +07:00
DavHau
03c9433805 chore(mach-nix-xs): fix type of mach-nix.dists 2023-03-13 12:46:11 +07:00
DavHau
b1679e55ef chore(mach-nix-xs): move options to .mach-nix. 2023-03-13 12:46:11 +07:00
DavHau
305b118087 ansible: init 2023-03-13 12:46:11 +07:00
DavHau
56925c8153 chore: refactor eval-cache options 2023-03-13 12:46:11 +07:00
DavHau
6ad08f59af feat(eval-cache): allow nested fields as inputs 2023-03-13 12:46:11 +07:00