nixpkgs/pkgs/development/python-modules/pytest-subtesthack/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

23 lines
550 B
Nix

{ lib, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "pytest-subtesthack";
version = "0.2.0";
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;
};
}