poetry2nix/tests/jq/default.nix

14 lines
254 B
Nix
Raw Permalink Normal View History

2021-12-22 14:04:07 -05:00
{ lib, poetry2nix, python3, runCommand }:
let
env = poetry2nix.mkPoetryEnv {
python = python3;
pyproject = ./pyproject.toml;
poetrylock = ./poetry.lock;
};
in
runCommand "jq-test"
{ } ''
${env}/bin/python -c 'import jq'
touch $out
''