poetry2nix/tests/plyvel/default.nix

11 lines
241 B
Nix
Raw Normal View History

2023-10-26 05:51:34 -04:00
{ lib, poetry2nix, python3, runCommand }:
let
env = poetry2nix.mkPoetryEnv {
python = python3;
projectDir = ./.;
};
in
runCommand "plyvel-test" { } ''
"${lib.getExe env}" -c 'import plyvel; print(plyvel.__version__)' > $out
''