about summary refs log tree commit diff
path: root/pkgs/development/python-modules/linien-common/tests.nix
blob: 7237548f2da368d64f75d6ac2fc2043b537313a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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)
  '';
}