depot/third_party/nixpkgs/pkgs/development/python-modules/linien-common/tests.nix

27 lines
391 B
Nix
Raw Normal View History

{ 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)
'';
}