poetry2nix/tests/jq/default.nix

14 lines
253 B
Nix
Raw Normal View History

2023-10-26 12:18:24 +13:00
{ poetry2nix, python311, runCommand }:
let
env = poetry2nix.mkPoetryEnv {
2023-10-24 08:44:34 -04:00
python = python311;
pyproject = ./pyproject.toml;
poetrylock = ./poetry.lock;
};
in
runCommand "jq-test"
{ } ''
${env}/bin/python -c 'import jq'
touch $out
''