python3Packages.pytest-pytestrail: init at 0.10.5

This commit is contained in:
Aaron Andersen 2023-03-09 16:10:08 -05:00
parent b5304bb548
commit 75b977a43a
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools-scm
, pytest
, testrail-api
}:
buildPythonPackage rec {
pname = "pytest-pytestrail";
version = "0.10.5";
SETUPTOOLS_SCM_PRETEND_VERSION = version;
src = fetchFromGitHub {
owner = "tolstislon";
repo = "pytest-pytestrail";
rev = version;
sha256 = "sha256-y34aRxQ8mu6b6GBRMFVzn1shMVc7TumdjRS3daMEZJM=";
};
nativeBuildInputs = [
setuptools-scm
];
buildInputs = [
pytest
];
propagatedBuildInputs = [
testrail-api
];
# all tests require network accesss
doCheck = false;
pythonImportsCheck = [
"pytest_pytestrail"
];
meta = with lib; {
description = "Pytest plugin for interaction with TestRail";
homepage = "https://github.com/tolstislon/pytest-pytestrail";
changelog = "https://github.com/tolstislon/pytest-pytestrail/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ aanderse ];
};
}

View File

@ -9214,6 +9214,8 @@ self: super: with self; {
pytest-pylint = callPackage ../development/python-modules/pytest-pylint { };
pytest-pytestrail = callPackage ../development/python-modules/pytest-pytestrail { };
pytest-qt = callPackage ../development/python-modules/pytest-qt { };
pytest-quickcheck = callPackage ../development/python-modules/pytest-quickcheck { };