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
Jörg Thalheim
38704165d4
support url source types
2020-11-26 14:51:44 +01:00
Jörg Thalheim
689373cef7
shell.nix: add nix-prefetch-git
2020-11-26 14:51:03 +01:00
adisbladis
ba41e216a6
Fix wheel builds
2020-11-26 14:46:51 +01:00
Marc 'risson' Schmitt
f0eb99280e
overrides: add colour
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2020-11-26 13:54:50 +01:00
Matthieu Coudron
1a6885076a
fix(flake): overlay args are standardized
...
when trying to use poetry2nix overlay in my flake, I get:
error: --- Error --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
overlay does not take an argument named 'final'
------------------------------------------------------------------------------------------ show-trace ------------------------------------------------------------------------------------------
trace: while checking the overlay 'overlays.poetry2nix'
2020-11-26 13:52:39 +01:00
adisbladis
f3a7d429b4
Only run CI on master
...
Unstable is broken atm and I want to cut a release
2020-11-26 13:51:42 +01:00
adisbladis
eb4f5d024f
Merge remote-tracking branch 'typetetris/fix-flake'
2020-11-26 13:49:55 +01:00
adisbladis
32bbe07355
Fix formatting
2020-11-26 13:33:35 +01:00
adisbladis
cac2eaed19
Merge branch 'fix-cross'
2020-11-25 03:08:05 +01:00
adisbladis
6fbec0342c
Hard code unstable
...
Is github actions drunk? Idk, but the matrix setup isn't working...
2020-11-24 23:06:34 +01:00
Daiderd Jordan
11d33aced2
exclude build python from poetry dependencies
...
While building PYTHONPATH includes pythonForBuild which can only be used
during the build. Just tracking propagated inputs here should be enough.
2020-11-24 23:04:11 +01:00
Daiderd Jordan
a16e8aa760
various cross override fixes
2020-11-24 23:04:10 +01:00
Daiderd Jordan
4beb2b2941
always include setuptools in buildInputs
...
When cross compiling setuptools isn't available in the build environment
but needed for eg. python setup.py egg_info.
2020-11-24 23:04:10 +01:00
adisbladis
c72860f2bd
Attempt fixing matrix env
2020-11-24 19:41:00 +01:00
adisbladis
9b17586988
Bump cachix-action
2020-11-24 19:37:14 +01:00
adisbladis
2da24c7f4c
Bump install-nix-action
2020-11-24 19:36:11 +01:00
adisbladis
8b6a073cbb
Bump install-nix-action
2020-11-24 19:35:42 +01:00
Eric Wolf
1c7e2dfe29
Adjust the README.md and provide a usage example
2020-11-22 09:38:17 +01:00
Eric Wolf
4d83e7e3af
Remove package in flake.nix as we don't provide any
2020-11-22 09:38:15 +01:00
adisbladis
1894b501cf
overrides: Add typeguard setuptools-scm version override
2020-11-20 01:28:47 +01:00
Jörg Thalheim
44c390fe8b
Merge pull request #202 from takeda/poetry
2020-11-16 10:59:51 +01:00
Jörg Thalheim
53d5786a0a
Merge pull request #187 from timokau/torch-override
2020-11-13 08:18:39 +01:00
Timo Kaufmann
5ad26c9d5b
Add an override for torch
...
Mostly aggregating the suggestions from
https://github.com/nix-community/poetry2nix/issues/69 .
2020-11-12 19:07:23 +01:00
Jörg Thalheim
e45303391b
Merge pull request #204 from Mic92/code-cleanup
2020-11-09 18:33:46 +01:00