summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-subtesthack/default.nix
blob: b639b61ad4d3c5e9355b14bcdb7a1afaea29e3f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, buildPythonPackage, fetchPypi, pytest }:

buildPythonPackage rec {
  pname = "pytest-subtesthack";
  version = "0.1.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "15kzcr5pchf3id4ikdvlv752rc0j4d912n589l4rifp8qsj19l1x";
  };

  buildInputs = [ pytest ];

  # no upstream test
  doCheck = false;

  meta = with stdenv.lib; {
    description = "Terrible plugin to set up and tear down fixtures within the test function itself";
    homepage = https://github.com/untitaker/pytest-subtesthack;
    license = licenses.publicDomain;
  };
}