Unverified Commit 1f82bcd4 authored by Robert Sliwinski's avatar Robert Sliwinski
Browse files

pythonPackages.pytest-plus: init at 0.8.1

parent 5cc3e573
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  pythonOlder,
  setuptools,
  setuptools-scm,
}:

buildPythonPackage rec {
  pname = "pytest-plus";
  version = "0.8.1";
  pyproject = true;

  disabled = pythonOlder "3.10";

  src = fetchFromGitHub {
    owner = "pytest-dev";
    repo = "pytest-plus";
    tag = "v${version}";
    hash = "sha256-XlEtekOASIjZretTbQAf0eyQN6qZ9c6zI1ESss/hxfI=";
  };

  build-system = [
    setuptools
    setuptools-scm
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  enabledTestPaths = [ "test/" ];

  pythonImportsCheck = [ "pytest_plus" ];

  meta = with lib; {
    description = "pytest-plus adds new features to pytest";
    homepage = "https://github.com/pytest-dev/pytest-plus";
    changelog = "https://github.com/pytest-dev/pytest-plus/releases/tag/${src.tag}";
    license = licenses.mit;
    maintainers = with maintainers; [ robsliwi ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -14299,6 +14299,8 @@ self: super: with self; {
  pytest-plt = callPackage ../development/python-modules/pytest-plt { };
  pytest-plus = callPackage ../development/python-modules/pytest-plus { };
  pytest-pook = callPackage ../development/python-modules/pytest-pook { };
  pytest-postgresql = callPackage ../development/python-modules/pytest-postgresql { };