mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-06 01:31:39 -05:00
13 lines
288 B
Nix
13 lines
288 B
Nix
{ lib, poetry2nix, python3, runCommandNoCC }:
|
|
let
|
|
drv = poetry2nix.mkPoetryApplication {
|
|
python = python3;
|
|
pyproject = ./pyproject.toml;
|
|
poetrylock = ./poetry.lock;
|
|
src = lib.cleanSource ./.;
|
|
};
|
|
in
|
|
runCommandNoCC "egg-test" {} ''
|
|
${drv}/bin/egg-test
|
|
touch $out
|
|
''
|