Files
nixpkgs/pkgs/development/python-modules/linien-common/tests.nix
T
2023-12-06 22:41:10 +08:00

27 lines
391 B
Nix

{ lib
, buildPythonPackage
, linien-common
, linien-client
, pytestCheckHook
}:
buildPythonPackage {
pname = "linien-tests";
inherit (linien-common) version src;
format = "other";
pyproject = false;
dontBuild = true;
dontInstall = true;
nativeCheckInputs = [
linien-common
linien-client
pytestCheckHook
];
preCheck = ''
export HOME=$(mktemp -d)
'';
}