Commit Graph

50 Commits

Author SHA1 Message Date
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
DavHau
16d0ce469c feat(mach-nix-xs): mkDefault for deps 2023-03-13 12:46:11 +07:00
DavHau
1405d4038d feat(eval-cache): add app to refresh caches 2023-03-13 12:46:11 +07:00
DavHau
14099d916a feat(eval-cache): fallback to IFD if cache invalid. and warn 2023-03-13 12:46:11 +07:00
DavHau
e5ad20e710 feat: individual cache files per system 2023-03-13 12:46:11 +07:00
DavHau
9ac6d8a8c3 chore(python): update hashes and caches 2023-03-13 12:46:11 +07:00
DavHau
af52758da6 feat(eval-cache): pretty print cache.json 2023-03-13 12:46:11 +07:00
DavHau
8d77fe3f40 tensorflow: init 2023-03-13 12:46:11 +07:00
DavHau
2d8997d05a apache-airflow: fix package by extracting attrs from nixpkgs 2023-03-13 12:46:11 +07:00
DavHau
a2ccc96913 feat(mach-nix-xs): init lib.extractPythonAttrs 2023-03-13 12:46:11 +07:00
DavHau
d12a078cfb feat(eval-cache): allow to disable 2023-03-13 12:46:11 +07:00
DavHau
3218cedcb4 feat: update odoo and airflow modules for caching 2023-03-13 12:46:11 +07:00
DavHau
8872c49d9b feat: improve mach-nix-xs, add caching 2023-03-13 12:46:11 +07:00
DavHau
4d709cbc81 feat: add eval-cache drv-parts module 2023-03-13 12:46:11 +07:00
DavHau
4ff55928ba chore: update python packages 2023-03-13 12:46:11 +07:00
DavHau
c474e1e41a feat(packages): add apache-airflow 2023-03-13 12:46:11 +07:00
DavHau
176db2410f feat(mach-nix-xs): use lazyAttrsOf 2023-03-13 12:46:11 +07:00
DavHau
43ac36c5a9 add drv-parts template 2023-03-13 12:46:11 +07:00
DavHau
f23119905d add odoo python package 2023-03-13 12:46:11 +07:00
DavHau
24376f6016 feat: add mach-nix-xs 2023-03-13 12:46:11 +07:00
DavHau
90fe5a0d7e init 2023-03-13 12:46:11 +07:00