summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/stestr/tests.nix
blob: 6ea09baeadd9335412ea839d6a2e0dc9c470c3d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ buildPythonPackage, stestr }:

buildPythonPackage {
  pname = "stestr-tests";
  inherit (stestr) version src;
  pyproject = false;

  dontBuild = true;
  dontInstall = true;
  preConfigure = ''
    pythonOutputDistPhase() { touch $dist; }
  '';

  nativeCheckInputs = [ stestr ];

  checkPhase = ''
    export PATH=$out/bin:$PATH
    export HOME=$TMPDIR
  '';
}