Commit graph

23 commits

Author SHA1 Message Date
adisbladis
9b5fba1b71 Fix cross compilation and add cross test 2022-01-19 04:35:12 +12:00
Phillip Cloud
5b7ffec522
style: reduce duplication 2021-09-16 17:16:59 -04:00
Phillip Cloud
b6f569db2a
python: support version comparison of values greater than 9 2021-09-16 16:59:38 -04:00
adisbladis
203fb43910
pep508: Fix in operator
If a marker contains two or more instances of the substring "in" Nix
regex engine in it's infitine wisdom splits only on the last one.

By changing a * to a + we can get the desired behaviour, but we do
need to fall back to the previous behaviour in case the more
restrictive match is not working.

Closes #332
2021-07-02 04:15:58 -05:00
sireliah
90d4c8e8a6
Allow the package extras to contain dashes in name 2021-05-27 10:56:33 +02:00
K900
324cc0cb2a Fix stdenv.platform accesses for latest nixpkgs
This fixes builds being completely broken after:
* https://github.com/NixOS/nixpkgs/pull/110726
* https://github.com/NixOS/nixpkgs/pull/110544

This also fixes poetry2nix on ARM and PowerPC platforms by introducing a
mapping from Nixpkgs targets to manylinux_* machine names and using it
when matching wheels for dependencies.
2021-01-30 20:17:54 +03:00
adisbladis
52a484be33
Reformat with nixpkgs-fmt 1.0.0 2020-10-01 19:08:57 +02:00
adisbladis
b1e4cdcb3d
pep508: Implement hack to correct positions 2020-10-01 19:07:27 +02:00
adisbladis
cbb5ebb12b
pep508: Add hack that assumes extras are always matched 2020-10-01 18:21:00 +02:00
adisbladis
db06bdd6e7
Format with nixpkgs-fmt 0.9 2020-05-19 21:06:02 +01:00
adisbladis
70eb120314
nixpkgs-fmt seemingly not idempotent? 2020-04-29 14:16:00 +01:00
adisbladis
4ebbfdacd1
nixpkgs-fmt broke it's format yet again 2020-04-29 14:12:59 +01:00
adisbladis
f7e435407e
nixpkgs-fmt all the things (again...) 2020-03-14 23:13:51 +00:00
adisbladis
82166c8a49
Fix platform_python_implementation field 2020-01-22 18:33:24 +00:00
adisbladis
f1af96e2c5
pep508: Fix platform_python_implementation for pypy 2020-01-21 14:56:37 +00:00
adisbladis
7170aad633
Add Pypy support (#40) 2020-01-18 20:29:07 +00:00
adisbladis
f394798d72
Add full operator support 2020-01-09 12:48:07 +00:00
adisbladis
c1ce6163be
Implement more operators 2020-01-09 12:18:38 +00:00
adisbladis
5057685f04
Fix stripStr on Darwin
See https://github.com/NixOS/nix/issues/1537
2020-01-01 14:32:24 +00:00
zimbatm
310282154c
nixpkgs-fmt: format all the nix code 2019-12-11 13:31:22 +01:00
adisbladis
d5a2bce5ec
pep508: Fix incorrect evaluation of groups 2019-11-16 19:28:21 +00:00
adisbladis
17cfb71c37
pep508: Also return ungrouped expressions 2019-11-16 17:50:26 +00:00
adisbladis
ff8d58af7d
Add PEP508 marker support
This is still experimental and may contain bugs
2019-11-16 12:57:43 +00:00