Merge pull request #220390 from aanderse/python3Packages.testrail-api
python3Packages.testrail-api: init at 1.12.0
This commit is contained in:
commit
8157d895f6
@ -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 ];
|
||||
};
|
||||
}
|
36
pkgs/development/python-modules/testrail-api/default.nix
Normal file
36
pkgs/development/python-modules/testrail-api/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, requests
|
||||
, pytestCheckHook
|
||||
, responses
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "testrail-api";
|
||||
version = "1.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tolstislon";
|
||||
repo = "testrail-api";
|
||||
rev = version;
|
||||
sha256 = "sha256-VuAW5Dl3pkA6mtn/mbzxTFoavO5jPoqFSFVlrxc7KRk=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
responses
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python wrapper of the TestRail API";
|
||||
homepage = "https://github.com/tolstislon/testrail-api";
|
||||
changelog = "https://github.com/tolstislon/ytestrail-api/releases/tag/${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ aanderse ];
|
||||
};
|
||||
}
|
@ -9232,6 +9232,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 { };
|
||||
@ -11542,6 +11544,8 @@ self: super: with self; {
|
||||
|
||||
testpath = callPackage ../development/python-modules/testpath { };
|
||||
|
||||
testrail-api = callPackage ../development/python-modules/testrail-api { };
|
||||
|
||||
testrepository = callPackage ../development/python-modules/testrepository { };
|
||||
|
||||
testresources = callPackage ../development/python-modules/testresources { };
|
||||
|
Loading…
Reference in New Issue
Block a user