adisbladis
a7fec487f8
Prevent infinite recursion in gitignore filter construction
2020-03-01 08:45:52 +00:00
adisbladis
b81a94878f
nixpkgs-fmt lib.nix
2020-02-29 21:27:38 +00:00
adisbladis
924746ff9a
Make gitignore recursive
2020-02-29 21:22:34 +00:00
adisbladis
bb3c2d57d5
Add a default source filter when projectDir
is used
...
Also use the same source filter for path deps.
The default source filter currently filters:
- Filters gitignore (if it exists, non-recursive)
- Filters pycache/pyc files
- Uses cleanSourceFilter to filter out .git/.hg, .o/.so, editor backup files & nix result symlinks
2020-02-29 12:05:23 +00:00
adisbladis
dc88082f58
Add support for python version constraints from pyproject.toml
...
Pep508 markers alone are not always enough, see #50
This sadly introduces a minor breakage in `mkPoetryEnv`.
2020-02-24 12:25:51 +00:00
adisbladis
0367b93492
Turn pyproject.toml patching into a hook
...
We should not be setting pre/post phases as it's counter intuitive
when working with overrides.
2020-02-23 14:37:01 +00:00
Steve Purcell
71cdd20018
Remove "path" dependencies in indirectly referenced packages
2020-02-18 15:58:31 +13:00
adisbladis
8591164784
Add overrides to build pyqt5
...
Extra functionality exposed in nixpkgs needs further overrides.
2020-01-13 00:27:14 +00:00
adisbladis
301760e845
Remove getAttrDefault
...
Nix has built-in syntax for this operation, so lets use it.
2020-01-13 00:27:10 +00:00
adisbladis
0d5719df26
Add IFD based fallback for fromTOML
2020-01-11 23:33:40 +00:00
adisbladis
f394798d72
Add full operator support
2020-01-09 12:48:07 +00:00
adisbladis
03d439fed3
Remove hard-coded known build systems
...
We can attempt to dynamically fetch this from the python package set instead.
2020-01-02 18:27:01 +00:00
adisbladis
4acf604723
Add support for local path dependencies
2019-12-29 13:20:35 +00:00
Andreas Rammhold
5741d9e59e
nixpkgs-fmt all the things
2019-12-16 15:03:49 +01:00
Tobias Pflug
84f27ee31d
Refactoring
...
- Extract utility functions to ./lib.nix
- Extract buildPythonPackage to ./mk-poetry-dep.nix
- Replace some functions with existing builtin functions
- Use lib.partition for python package splitting
- Drop package filtering on the top-level and leave it to pep425.nix
2019-12-16 15:03:49 +01:00