mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-09 12:06:40 -04:00
13 lines
305 B
Nix
13 lines
305 B
Nix
![]() |
{ lib, poetry2nix, python3, runCommand }:
|
||
|
let
|
||
|
env = poetry2nix.mkPoetryEnv {
|
||
|
python = python3;
|
||
|
pyproject = ./pyproject.toml;
|
||
|
poetrylock = ./poetry.lock;
|
||
|
preferWheels = true;
|
||
|
};
|
||
|
in
|
||
|
runCommand "fiona-test" { } ''
|
||
|
${env}/bin/python -c 'import fiona; print(fiona.__version__)' > $out
|
||
|
''
|