Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pytest-pytestrail / default.nix
blob618bccfa3bc5e4dba56b764928aed0a9dd59868c
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , setuptools-scm
5 , pytest
6 , testrail-api
7 }:
9 buildPythonPackage rec {
10   pname = "pytest-pytestrail";
11   version = "0.10.5";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     owner = "tolstislon";
16     repo = "pytest-pytestrail";
17     rev = version;
18     sha256 = "sha256-y34aRxQ8mu6b6GBRMFVzn1shMVc7TumdjRS3daMEZJM=";
19   };
21   nativeBuildInputs = [
22     setuptools-scm
23   ];
25   buildInputs = [
26     pytest
27   ];
29   propagatedBuildInputs = [
30     testrail-api
31   ];
33   # all tests require network accesss
34   doCheck = false;
36   pythonImportsCheck = [
37     "pytest_pytestrail"
38   ];
40   meta = with lib; {
41     description = "Pytest plugin for interaction with TestRail";
42     homepage = "https://github.com/tolstislon/pytest-pytestrail";
43     changelog = "https://github.com/tolstislon/pytest-pytestrail/releases/tag/${version}";
44     license = with licenses; [ mit ];
45     maintainers = with maintainers; [ aanderse ];
46   };