anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / pytest-pytestrail / default.nix
blob63c0d3735f38704b9b01bf7ed413d95d98e3699a
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools-scm,
6   pytest,
7   testrail-api,
8 }:
10 buildPythonPackage rec {
11   pname = "pytest-pytestrail";
12   version = "0.10.5";
13   format = "setuptools";
15   src = fetchFromGitHub {
16     owner = "tolstislon";
17     repo = "pytest-pytestrail";
18     rev = version;
19     sha256 = "sha256-y34aRxQ8mu6b6GBRMFVzn1shMVc7TumdjRS3daMEZJM=";
20   };
22   nativeBuildInputs = [ setuptools-scm ];
24   buildInputs = [ pytest ];
26   propagatedBuildInputs = [ testrail-api ];
28   # all tests require network accesss
29   doCheck = false;
31   pythonImportsCheck = [ "pytest_pytestrail" ];
33   meta = with lib; {
34     description = "Pytest plugin for interaction with TestRail";
35     homepage = "https://github.com/tolstislon/pytest-pytestrail";
36     changelog = "https://github.com/tolstislon/pytest-pytestrail/releases/tag/${version}";
37     license = with licenses; [ mit ];
38     maintainers = with maintainers; [ aanderse ];
39   };