Commit graph

46 commits

Author SHA1 Message Date
max-arrival
3ca47a1220
Add uvloop overrides for MacOS builds 2020-01-23 23:24:07 +00:00
adisbladis
145fc6ce83
overrides: Dont add pytestrunner to faker
We can patch away the requirement instead, it's not _really_ required.
2020-01-22 17:40:06 +00:00
adisbladis
c8a486b894
nixpkgs-fmt fixup
A git pre-commit hook would be useful...
2020-01-22 17:21:03 +00:00
adisbladis
6d8ba34f4f
overrides: Add override to build faker 2020-01-22 16:18:58 +00:00
adisbladis
0ec54e142b
Add peewee override 2020-01-21 12:08:21 +00:00
adisbladis
78ee08bec7
overrides: Make matplotlib override configurable 2020-01-21 11:56:14 +00:00
adisbladis
2bbc96dd6d
overrides: Make numpy BLAS implementation pluggable 2020-01-21 11:44:03 +00:00
adisbladis
59a83bbc93
overrides: Make pyqt5 override configurable 2020-01-21 11:43:44 +00:00
adisbladis
00d3d17410
overrides: Fix zipp >= 2.0 version detection 2020-01-20 15:52:00 +00:00
adisbladis
7170aad633
Add Pypy support (#40) 2020-01-18 20:29:07 +00:00
adisbladis
769dc25d77
Fixup pyqt5 override 2020-01-17 18:34:06 +00:00
adisbladis
feb792d8f7
Fix shapely override 2020-01-17 18:18:40 +00:00
adisbladis
380a8aa482
Add dlib overrides 2020-01-17 11:01:22 +00:00
Roberto Di Remigio
36170bfc28 Fix small mistake in override of vose-alias-method (#37) 2020-01-16 10:27:08 +00:00
adisbladis
6032bb34b2
Add overrides to make scipy/scikit-learn build 2020-01-15 16:18:22 +00:00
adisbladis
2751a7fa0d
Add overrides required to build poetry with python2 2020-01-13 15:43:56 +00: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
bf56efefda
Add overrides removing LICENSE files
They lead to collisions.

Probably there should be some cleanup for these kind of files? cc @FRidh
2020-01-12 20:29:23 +00:00
adisbladis
136f008a03
Add preferWheel option to <derivation>.override
Previously override wasn't really useful as it inherited the args from
buildPythonPackage.
Now we can create custom args for overrides.
2020-01-12 19:38:22 +00:00
adisbladis
31a2bf6216
Always add setuptools_scm as a build input
Adding overrides is an uphill battle we are never going to win and
poetry2nix should try to attempt to make things "just work" to the
largest extent possible.

This only increases the build closures slightly while making
poetry2nix much easier to use.

setuptools_scm itself does not have any dependencies so will not cause
compatibility issues.
2020-01-10 13:01:33 +00:00
Roberto Di Remigio
95fa75b48a
Add some more overrides for setuptools-scm 2020-01-09 22:04:08 +01:00
adisbladis
62f5566c6d
nixpkgs-fmt fixup 2020-01-09 14:07:36 +00:00
Roberto Di Remigio
486879a3fa Add setuptools_scm build input for black (#28)
Add setuptools_scm build input for black
2020-01-09 13:59:31 +00:00
adisbladis
c81412189e
overrides: Include cython for numpy 2020-01-08 14:00:41 +00:00
adisbladis
908c9b8881
Restrucure overrides as composable overlays 2019-12-20 13:39:35 +00:00
Tobias Pflug
29c93b1dc2
Add wheel file selection according to pep425
Provides a `select` function that picks the most appropriate `.whl` file
based on platform, arch, python version and manylinux/OSX - version.

- Adds unit tests for pep425
- Adds test for manylinux support
- Fixes overrides: `passhtru` must be extended, not overwritten
- Don't strip python packages: this screws up manylinux binaries
2019-12-16 15:02:41 +01:00
zimbatm
310282154c
nixpkgs-fmt: format all the nix code 2019-12-11 13:31:22 +01:00
Tobias Pflug
9ac2dd41c5 Sort overrides by python package 2019-11-29 11:24:53 +01:00
Tobias Pflug
1bfd3d192b
Add more tests
This adds the following new tests:

- trivial:           minimaltest case
- override-support:  verify overriding
- common-pkgs-1/2:   verify commonly downloaded pypi pkgs can be built

Also adds some overrides as needed by some of the
tested packages.
2019-11-29 10:07:06 +00:00
adisbladis
86ee5ec79f
Add more overrides 2019-11-28 10:32:24 +00:00
adisbladis
c0d10a691e
Add more overrides 2019-11-28 02:24:33 +00:00
adisbladis
0fa9f38f64
wheel: Add override breaking cycle 2019-11-27 20:25:35 +00:00
Frederik Rietdijk
cb67c624e5
simplify fetchPypi, remove need for overrides
We already have the name of the file that we need, so let's fetch it
directly instead of breaking it apart first, passing it to the Nixpkgs
fetchPypi, which would then put it together again.
2019-11-27 15:53:52 +00:00
adisbladis
3f576471a2
Add more setuptools overrides 2019-11-19 22:42:43 +00:00
adisbladis
95d3407bdb
Make build-system conditional
And other minor bug fixes
2019-11-18 23:39:20 +00:00
adisbladis
49055769cf poetry2nix can now build poetry itself 2019-10-16 11:04:24 +01:00
adisbladis
d485a1ab4a Support new upstream lock format 2019-10-15 17:56:18 +01:00
adisbladis
f7f9c1fcc9 Add django capitalise override 2019-10-15 16:37:34 +01:00
adisbladis
c2cc4afc1c
Add support for binary wheels
Though building from source still takes precedence (is this correct
behaviour?).
2019-06-29 18:43:32 +01:00
adisbladis
2751fd9707
Apply overrides to successfully build pretalx 2019-06-27 20:09:24 +01:00
adisbladis
e0e2a3f659
Properly fetch sdists with extension 2019-06-24 17:01:27 +01:00
adisbladis
b4abe49e04
Build packages using new files attribute 2019-06-24 14:44:00 +01:00
adisbladis
0f50d8bb3b
Pass attrs from mkPoetryPackage through to buildPythonApplication 2019-06-24 00:06:25 +01:00
adisbladis
642768eb65
Avoid version mixing by overriding pythonPackages 2019-06-23 00:33:38 +01:00
adisbladis
866b5e1c37
Initial commit 2019-06-17 18:43:38 +01:00