Commit graph

70 commits

Author SHA1 Message Date
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