poetry2nix/tests/eggs/default.nix
adisbladis ac533e586a
tests: Pin prefer wheel tests to python 3.7
Some wheels are not available for python 3.8 which is the default on
unstable now.
2020-07-01 10:36:07 +02:00

14 lines
291 B
Nix

{ lib, poetry2nix, python37, runCommandNoCC }:
let
drv = poetry2nix.mkPoetryApplication {
python = python37;
pyproject = ./pyproject.toml;
poetrylock = ./poetry.lock;
src = lib.cleanSource ./.;
};
in
runCommandNoCC "egg-test"
{ } ''
${drv}/bin/egg-test
touch $out
''