depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-subtesthack/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

28 lines
584 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytest,
}:
buildPythonPackage rec {
pname = "pytest-subtesthack";
version = "0.2.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-67UEIDycAf3TedKvp0dofct7HtG+H8DD9Tmy3oEnYgA=";
};
buildInputs = [ pytest ];
# no upstream test
doCheck = false;
meta = with 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;
};
}