poetry2nix/tests/aiopath/default.nix
2021-12-29 12:34:32 -05:00

13 lines
279 B
Nix

{ lib, poetry2nix, python3, runCommand }:
let
env = poetry2nix.mkPoetryEnv {
python = python3;
pyproject = ./pyproject.toml;
poetrylock = ./poetry.lock;
};
in
runCommand "aiopath-test"
{ } ''
${env}/bin/python -c 'from aiopath import AsyncPath'
touch $out
''