Commit graph

504 commits

Author SHA1 Message Date
Michael Lingelbach
9191fbae30
Ensure ref passed to builtins.fetchGit points to refs/tags/sourceSpec.tag 2021-02-02 12:43:50 +01:00
adisbladis
26ea0644b3
Merge pull request #219 from ilikeavocadoes/master
Fix osqp
2021-02-02 12:40:20 +01:00
ilikeavocadoes
39c39f65d4
Fix osqp
Closes #206
2021-02-02 12:37:33 +01:00
adisbladis
93bda86ac3
Merge pull request #223 from phile314/ovr_mysql
mysqlclient: Add missing native library dependency
2021-02-02 12:25:03 +01:00
Philipp Hausmann
ecf1dd2fe5
mysqlclient: Add missing native library dependency 2021-02-02 12:24:13 +01:00
adisbladis
b0039518b1
Merge pull request #236 from NorfairKing/fixes-by-niteo
Fixes by niteo
2021-02-02 12:19:52 +01:00
Tom Sydney Kerckhove
7a9d5dbe97
reformat 2021-02-02 12:15:55 +01:00
Tom Sydney Kerckhove
62fc282c1d
newrelic override fix 2021-02-02 12:15:55 +01:00
Tom Sydney Kerckhove
25de8d0893
pyee override fix 2021-02-02 12:15:55 +01:00
Tom Sydney Kerckhove
38f2a09c59
watchdog override fix 2021-02-02 12:15:55 +01:00
Tom Sydney Kerckhove
76ac8727d6
pytest-splinter override fix 2021-02-02 12:15:55 +01:00
Tom Sydney Kerckhove
7887e57c17
tqdm override fix 2021-02-02 12:15:55 +01:00
adisbladis
a414dd370b
Merge pull request #248 from nix-community/pip-20_2_4
overrides: Pin pip to 20.2.4 to work around #244
2021-02-02 12:14:21 +01:00
adisbladis
261ea2b15a
overrides: Add override for wheel when building from source 2021-02-02 11:51:00 +01:00
adisbladis
036d8fbfab
overrides: Pin pip to 20.2.4 to work around https://github.com/nix-community/poetry2nix/issues/244 2021-02-02 11:50:12 +01:00
Tom Sydney Kerckhove
ba43d90b78
torch fix, fixes #230 (#237)
* torch fix, fixes #230

Co-authored-by: Tom Sydney Kerckhove <syd@cs-syd.eu>
2021-01-30 19:56:39 +01:00
Silvan Mosberger
ee478fd8d4
Merge pull request #217 from Infinisil/overrides
Overrides for packaging and pytest
2021-01-30 19:53:17 +01:00
Silvan Mosberger
e16c7426d5
Fix pytest version being 0.0.0
Without this patch, the pytest version in the resulting environment is
0.0.0

Fixes https://github.com/nix-community/poetry2nix/issues/188
2021-01-30 19:50:01 +01:00
Silvan Mosberger
16b39d8d6d
Add override for packaging now using flit
As of https://github.com/pypa/packaging/pull/352

Seems like this dependency isn't automatically discovered, same as with
hashids requiring the same override
2021-01-30 19:49:58 +01:00
Silvan Mosberger
89865e1496
Merge pull request #242 from K900/fix-platform
Fix stdenv.platform accesses for latest nixpkgs
2021-01-30 19:49:24 +01: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
649c50051f
Merge pull request #235 from cpcloud/ignore-direnv
gitignore: ignore direnv
2021-01-17 18:25:59 +01:00
Phillip Cloud
f4e79232e1 .gitignore: ignore .direnv file generated by https://github.com/nix-community/nix-direnv 2021-01-17 09:07:42 -05:00
adisbladis
09a1400769
Merge pull request #227 from fabaff/patch-1
Add license file
2021-01-15 19:38:35 +01:00
adisbladis
72f6416dec
Merge pull request #233 from cpcloud/fix-wheel
overrides: fix wheel inputs to support different versions of python
2021-01-15 19:38:07 +01:00
adisbladis
c090534dbf
Merge pull request #234 from jskrzypek/jskrzypek/expose-editable-scripts-packages
Expose functions for editable & scripts packages
2021-01-15 18:10:47 +01:00
Joshua Skrzypek
a2bd638ff8 Expose functions for editable & scripts packages
The editablePackage and scriptsPackage elements of the mkPoetryEnv
function are wholly separable and really ought to be moved into the
functionality of the mkPoetryPackages function. By doing so both will
automatically be available in the mkPoetryApplication's dependencyEnv as
well.

I thought the functionality that encapsulates these might further see
potential use even outside the context of mkPoetryPackages, so I made
them top-level functions and documented them in the README.
2021-01-15 12:06:29 -05:00
Jörg Thalheim
8bbd28df40
Merge pull request #221 from teto/flake-default-app 2021-01-15 17:02:42 +00:00
Jörg Thalheim
a51040319a
flake.lock: bump flake-utils & nixpkgs 2021-01-15 18:01:34 +01:00
Jörg Thalheim
3ee89c424c
flake.nix: add poetry2nix.cli 2021-01-15 18:00:08 +01:00
Phillip Cloud
9321f57657 tests: enable manylinux test 2021-01-14 12:52:57 -05:00
Phillip Cloud
714fdf2f75 overrides: fix wheel derivation to use proper inputs 2021-01-14 12:50:04 -05:00
Matthieu Coudron
c826e376a8 chore: use flake-utils
to provide better support for different platforms.
2021-01-02 00:25:05 +01:00
Matthieu Coudron
797970c69d feat: can now call 'nix run' on it
For instance nix run poetry#. -- lock -v or something similar.
you can override the nixpkgs input if you dont want to redownload
it, or just lock everything.
2020-12-30 16:02:00 +01:00
Matthieu Coudron
034761d214 Revert "Remove package in flake.nix as we don't provide any"
This reverts commit 4d83e7e3af.
2020-12-30 16:02:00 +01:00
adisbladis
84a5da7b59
Merge pull request #228 from sireliah/override-datadog-lambda
Add overrides for datadog libraries
2020-12-23 02:23:29 +01:00
sireliah
c0a391b6f2
Provide overrides for two Datadog libraries 2020-12-22 16:24:11 +01:00
Fabian Affolter
cf905e0bb2
Remove file extension 2020-12-19 18:50:11 +01:00
Fabian Affolter
8fd7855fba
Add license file 2020-12-19 18:45:50 +01:00
adisbladis
31e3d16d65
Merge pull request #225 from kylegentle/patch-1
Add mkPoetryEnv shell.nix examples to README
2020-12-14 02:10:06 +01:00
Kyle Gentle
2caeb26814 add missing pkgs prefix to examples 2020-12-13 13:39:11 -05:00
Kyle Gentle
f70ffaa7ef
Add mkPoetryEnv shell.nix examples to README
It took me a while to figure this out, so I think it may be useful to add as a reference to future `poetry2nix` users.

Related to and inspired by #186, #60.
2020-12-13 12:44:27 -05:00
adisbladis
fd0e5772e6
Bump version to 1.14.0 2020-11-30 19:54:06 +01:00
adisbladis
662a2fb378
Bump nixpkgs 2020-11-30 19:34:28 +01:00
adisbladis
18a77a95cd
!! 2020-11-30 19:28:07 +01:00
adisbladis
c0c6038262
Fix tests
Something upstream broke a lot of python37 packages and I'm not
interested in debugging this.
2020-11-30 19:27:48 +01:00
adisbladis
d460ed2be1
Fix cross compilation support in hooks 2020-11-27 16:14:19 +01:00
adisbladis
98e0220502
Use build packages in setup hook
https://github.com/NixOS/nixpkgs/pull/104201 broke this.
2020-11-26 20:28:09 +01:00
adisbladis
4523826243
Use nix-build --keep-going in CI
We want to get as many binaries as possible in the binary cache, even if a single dependency fails.
2020-11-26 19:08:29 +01:00
Yuri Albuquerque
e840602b3b
Fix pytest-django.
Closes #212
2020-11-26 19:05:58 +01:00