Commit graph

169 commits

Author SHA1 Message Date
DavHau
b122d76307 enable pytest 2020-10-12 13:45:34 +07:00
DavHau
a2b1ff0271
Merge pull request #147 from MIJOTHY/fix-string-requires
fix: allow for string setup/install_requires
2020-10-12 11:08:07 +07:00
DavHau
4ee7d647fb fix flakes and add tests for flakes 2020-10-12 10:54:19 +07:00
DavHau
763b15d56d fix: detect pname properly in mach_nix_file 2020-10-12 10:22:26 +07:00
DavHau
4d995d7872 simplify some examples 2020-10-12 01:47:00 +07:00
DavHau
938be3fe35
Merge pull request #152 from DavHau/r-packages
Add support for R packages (auto setup rpy2)
2020-10-12 01:29:14 +07:00
DavHau
09595e2b78 add example for R and update other examples 2020-10-12 01:26:18 +07:00
DavHau
f7e844b015 make individual tests executable via cmdline 2020-10-12 00:59:41 +07:00
DavHau
44b29dfdbf allow rpy2 deps to be installed from wheel 2020-10-12 00:59:09 +07:00
DavHau
877d55d06d allow r packages to be passed via extra_pkgs 2020-10-12 00:17:54 +07:00
DavHau
cd24fad1c9 fix-package: rpy2 sdist 2020-10-11 20:29:33 +07:00
DavHau
76bf83c7bd
Merge pull request #150 from DavHau/improve-ui
Improve ui
2020-10-11 18:05:23 +07:00
DavHau
8755ac4789 flakes: add dockerImageWith 2020-10-11 18:01:25 +07:00
DavHau
efa86355a3 improve UI: add mkDockerImage, mkOverlay, mkNixpkgs, mkPythonOverrides, 2020-10-11 17:47:12 +07:00
DavHau
edc05c233b throw proper error if 'extra_pkgs' is passed to buildPythonPackage 2020-10-11 16:11:57 +07:00
DavHau
0553396343 add python and pkgs to passthru of mkPython 2020-10-11 16:11:19 +07:00
DavHau
aa0d7cb6b3 disable checks globally via override 2020-10-11 14:41:09 +07:00
DavHau
b02f915b7a fix: wrong buildInputs selected due to name changes 2020-10-11 13:45:45 +07:00
DavHau
a24c33fb80 throw proper error if pkgs are passed to mkPython or buildPy... 2020-10-11 11:22:43 +07:00
DavHau
b2aede9aa2 add example for aarch64 sd image 2020-10-10 14:10:58 +07:00
DavHau
52fc618e77 fix: pytorch from nixpkgs not detected as torch (fixes #148) 2020-10-10 13:00:13 +07:00
DavHau
8be56fc14d fix bug introduced by refactoring 2020-10-09 22:37:06 +07:00
DavHau
2ee1aa8f3f stop using nix_names as keys; improve get_passthru; add test 2020-10-09 22:36:11 +07:00
DavHau
2a8b7f753b fix some flake impurities 2020-10-09 22:18:34 +07:00
James Griffiths
8a77c38585 fix: allow for string setup/install_requires
setuptools allows for install_requires and setup_requires to be either a
string or list of strings. This commit ensures the two formats are
normalised to a list.

https://setuptools.readthedocs.io/en/latest/userguide/keywords.html#id7
2020-10-09 11:53:20 +01:00
DavHau
765d85e550 fix withDot feature 2020-10-08 23:59:09 +07:00
DavHau
ff2731bc6c
Merge pull request #146 from DavHau/docker-images
Add docker image output + example
2020-10-08 23:48:57 +07:00
DavHau
1127246052 add: (mkPython {}).dockerImage 2020-10-08 23:42:48 +07:00
DavHau
a2cf285bc5 remove pkgs arg from mkPython and buildPythonPackage 2020-10-08 21:29:14 +07:00
DavHau
67df1d2a15 evolve: inherit more py pkgs when overriding nixpkgs, but replace redundant 2020-10-08 21:25:52 +07:00
DavHau
2597b349d3
Merge pull request #107 from InLaw/add_nixpkgs_rev_change/structure
add parameter to choose nixpkgs rev (show it in --version) + examples for jupyterlab
2020-10-08 14:44:36 +07:00
DavHau
1c49828e56 update help text for --nixpkgs 2020-10-08 14:43:56 +07:00
DavHau
65bf68fc47 improve: examples for JupyterLab 2020-10-08 14:35:12 +07:00
DavHau
6d7bc3eb35 improve: updating deps workflow + cmdline option 2020-10-08 14:10:31 +07:00
TLP49i7_ae
c2d5f95bb8 add parameter to choose nixpkgs version (show it in --version) and add examples 2020-10-08 11:58:34 +07:00
DavHau
856ebd4240 remove last impurities 2020-10-08 01:50:34 +07:00
DavHau
6bf7d93260 relocate pypi-fetcher interface into mach-nix and remove impurities 2020-10-07 23:36:08 +07:00
DavHau
e9c4f37a80 Merge branch 'flakes' 2020-10-07 23:25:00 +07:00
DavHau
7ed1116bd1 update nixpkgs and fix nix tests 2020-10-07 23:23:52 +07:00
DavHau
98ac0630e6
Merge pull request #144 from DavHau/flakes
Juicy flakes interface + improvements
2020-10-07 23:14:16 +07:00
DavHau
c89fbb88b4 fix: select correct wheel + add tests for it 2020-10-07 22:56:33 +07:00
DavHau
252b8b8a95 update deps-db and add twine to dev shell 2020-10-07 12:19:02 +07:00
DavHau
83ca142093 add: withDot package selection feature (flakes) 2020-10-07 12:18:02 +07:00
DavHau
ced54d27a1 package-fix: remove patches for httpx 2020-10-07 12:17:00 +07:00
DavHau
58c191bb9a fix: sdist crawler 2020-10-07 12:16:10 +07:00
DavHau
b0d0081d3d fix: unwanted python buildInput inheritance when overriding nixpkgs 2020-10-06 21:30:07 +07:00
DavHau
8de0d2ceda fix: select wrong python version for wheel 2020-10-06 13:34:12 +07:00
DavHau
0f7613fc6e fix: sdist crawler not compatible with new extraction format 2020-10-05 19:16:49 +07:00
DavHau
49a7067443
Merge pull request #41 from blaggacao/master
chore: package as nix flake
2020-10-04 02:18:44 +07:00
DavHau
1f1bdb28a2 rename nixpkgs-unstable and update flakes.lock 2020-10-04 02:16:46 +07:00