Commit graph

105 commits

Author SHA1 Message Date
Jairo Llopis
bda5e00721 overrides: add copier
Without git, Copier loses lots of its functionality.
2022-10-09 11:50:26 +13:00
K900
33db1f30d0 feat: big messy refactoring
- normalize package names to match PEP-503
- don't assume build dependencies on setuptools{,-scm}
- automatically generate overrides for setuptools{,-scm}
- pull known build systems directly from nixpkgs
- fix a bunch of mostly unrelated warnings

Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>
2022-10-06 19:54:08 +03:00
adisbladis
c2ee667d2f
Merge pull request #735 from AlexChalk/add-bcrypt-4-rust-support
Add support for building bcrypt 4 (rust)
2022-10-04 14:25:42 +13:00
talyz
b74eab0c55
overrides: Choose the correct OpenSSL version for cryptography
Older versions of cryptography currently can't be used, since
openssl_3 was made the default openssl package in nixpkgs, which
they're not compatible with. Choose an appropriate version of OpenSSL,
based on what the official wheel is built against according to
https://cryptography.io/en/latest/changelog/.
2022-10-03 14:26:15 +02:00
Alex Chalk
fa52f5bd4b Add support for building bcrypt 4 (rust) 2022-09-29 15:20:50 -04:00
adisbladis
420107e7e7
Merge pull request #723 from Smaug123/more-overrides
Overrides: ftfy, shortuuid, contourpy, omegaconf, opencv-python-headless
2022-09-30 04:26:48 +13:00
Radosław Szamszur
4751631f4b overrides: add suds 2022-09-27 13:29:15 +02:00
Smaug123
6c4395f7b0 Update overrides for ftfy, shortuuid, contourpy, omegaconf, opencv-python-headless 2022-09-25 15:01:06 +01:00
Federico Ravasio
27fb147297 overrides: add orjson 3.8.0 2022-09-23 22:20:04 +00:00
Federico Ravasio
69120fadf9 overrides: make it easier to update orjson version by printing cargo hash 2022-09-23 22:20:04 +00:00
adisbladis
787bc9e1b0 tests: Fix tests with Poetry 1.2.0 2022-09-22 16:13:15 +12:00
adisbladis
023b9fc37f poetry: 1.1.15 -> 1.2.0 2022-09-22 16:08:23 +12:00
Aos Dabbagh
ccdca1a001 Overrides: cryptography 38.0.1
Ran into this issue while building `zigpy`.

```
trace: warning: Unknown cryptography version: '38.0.1'. Please update getCargoHash.
[1/12/65 built, 36 copied (1502.3/1502.5 MiB), 241.3 MiB DL] building cryptography-38.0.1-vendor.tar.gz (buil

error: hash mismatch in fixed-output derivation '/nix/store/yj3wci62jqhkv83wi1d53awpcsb5wjhb-cryptography-38.0.1-vendor.tar.gz.drv':
         specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
            got:    sha256-o8l13fnfEUvUdDasq3LxSPArozRHKVsZfQg9DNR6M6Q=
error: 1 dependencies of derivation '/nix/store/09l5szr64c7hrngc5kyg2klhw0jcy538-python3.10-cryptography-38.0.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/68hqsyh7nhdhzkh7lawl20jnvlcfzyk3-python3.10-zigpy-0.50.3.drv' failed to build
```
2022-09-11 00:10:56 -04:00
Thiago Franco de Moraes
539423bbf9
overrides: add openvino 2022-09-07 10:02:05 +12:00
adisbladis
eeb17af37c overrides.poetry-core: "Vendor" dependencies in poetry-core 2022-09-02 01:37:48 +12:00
adisbladis
7520a96a7f overrides: Add poetry to poetry-plugin-export 2022-09-02 01:37:48 +12:00
adisbladis
dcef8aec9d overrides: Fix build system overrides when overriden derivation is null 2022-09-02 01:34:49 +12:00
adisbladis
e1e95bbf61
Merge pull request #689 from crossing/master
Fix build failure when pyproject.toml contains editable path dependencies
2022-08-24 11:55:51 +12:00
Xing Yang
e204959568 Adopt nixpkgs pillow preConfigure script 2022-08-22 20:49:00 +01:00
Derek Kulinski
f6293de69e overrides for cysimdjson, orjson, minimal-dydb, pydantic-dydb, types-s3transfer 2022-07-30 01:04:32 -07:00
sepiabrown
5d34116177 overrides.tqdm: fix overrideAttrs to overridePythonAttrs 2022-07-24 19:09:38 +09:00
Joel Rivera
f839d908f0 nixpkgs-fmt overrides/default 2022-07-23 15:30:19 -05:00
Joel Rivera
0ba5188620 Don't apply the mypy patches after 0.971, the changes are released. 2022-07-23 03:36:27 -05:00
László Vaskó
c1e8099d09 Overrides: use lib.fakeHash for unknown cryptography versions
When `null` hash is used, a cryptic error is printed for unknown
versions:

> unpacking source archive
> do not know how to unpack source archive

With fakeHash, the build continues and we can see an actual hash
mismatch error:

> error: hash mismatch in fixed-output derivation '/nix/store/m95mjg0rf1w1x6qrxby4dajy3shvn2r9-cryptography-37.0.4-vendor.tar.gz.drv':
>          specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
>             got:    sha256-f8r6QclTwkgK20CNe9i65ZOqvSUeDc4Emv6BFBhh1hI=
2022-07-05 18:52:51 +02:00
László Vaskó
7d3d2d7f22 Overrides: cryptography 37.0.4 2022-07-05 18:33:09 +02:00
László Vaskó
c5e554c1e1 Overrides: remove cryptography 37.0.3 as it has been yanked 2022-07-05 18:32:52 +02:00
László Vaskó
7f90b8de26 Overrides: cryptography 37.0.3 2022-07-04 17:23:51 +02:00
adisbladis
4bff5a3df9
Merge pull request #676 from cpcloud/nbconvert-patch
fix(nbconvert): patch templateexporter to add out/share/jupyter
2022-07-03 19:20:02 +08:00
Joel
f0e11d714f
overrides.pynput: include missing dependencies 2022-07-03 18:18:13 +10:00
Joel
41ff7d16ea
overrides.evdev: substitute linuxHeaders path 2022-07-03 17:56:11 +10:00
Phillip Cloud
3dfba8273e
chore: branch on version 2022-07-02 12:14:23 -05:00
Phillip Cloud
e834b72e8c
fix(nbconvert): patch templateexporter to add out/share/jupyter 2022-07-02 09:53:30 -05:00
adisbladis
8e53a7d0d1
Merge pull request #663 from trepetti/build-systems-jsonschema
build-systems: optional build system objects with version information
2022-06-17 04:47:34 +08:00
Tom Repetti
2ab471d272 Refactor build system object logic 2022-06-16 04:55:18 -05:00
Tom Repetti
76d4011945 Allow lone "until" keys in build-system.json attrs 2022-06-15 16:13:43 -05:00
Tom Repetti
c7a61ce945 Add experimental extension to build-systems.json 2022-06-15 15:51:52 -05:00
adisbladis
754b9c4af4
Merge pull request #661 from trepetti/override-lightgbm
overrides.lightgbm: add temporary home directory for source build
2022-06-16 03:11:58 +08:00
Tom Repetti
bf761f9726 overrides.lightgbm: add temporary home directory for source build 2022-06-15 12:01:36 -05:00
Derek Kulinski
e4fb785f59
orjson 3.7.2 2022-06-13 13:10:42 -07:00
Tom Repetti
0ba24302c1 overrides.lightgbm: add cmake 2022-06-12 23:28:39 -05:00
adisbladis
b924859a34 overrides.secp256k1: Loosen up pytest-runner version constraint
It's curerntly set to a specific version in setup.py, but since it's missing from
dependency metadata it fails at build time.
2022-06-11 02:59:30 +08:00
Derek Kulinski
7f68a230b7
Updated patch for mypy 0.960+
The old patch URL did not apply cleanly for 0.960 and 0.961.

Looks like the PR was eventually merged so hopefully these might be the last versions needing a patch.
2022-06-09 17:52:34 -07:00
adisbladis
ad9ca14cc5 overrides: Implement changes from https://github.com/NixOS/nixpkgs/pull/175305 2022-06-05 01:45:24 +08:00
adisbladis
5ccffe18c3
Merge pull request #651 from schlarpc/master
overrides.mypy: Fix build on 0.960
2022-06-05 01:44:49 +08:00
Chaz Schlarp
0ccfad7a61 overrides.mypy: Fix build on 0.960 2022-05-27 14:14:56 -07:00
adisbladis
15e9c85d26 overrides.pyfftw: Add override 2022-05-27 01:13:24 +08:00
Chaz Schlarp
81ef51a6ca overrides.awscrt: Add override to include cmake 2022-05-15 16:08:13 -07:00
Phillip Cloud
5c6b2ab17b
shapely: use python3 instead of minimal 2022-05-13 08:30:51 -04:00
Phillip Cloud
983b14ad09
shapely: use python3Minimal to ensure ast.unparse exists 2022-05-13 07:32:26 -04:00
adisbladis
4073444bff
Merge pull request #637 from nix-community/pyqt5
overrides.pyqt5: Fix build with more recent QT versions
2022-05-13 17:35:46 +08:00