python312Packages.kneaddata: init at 0.7.7-alpha (#340230)
[NixPkgs.git] / pkgs / development / python-modules / testrail-api / default.nix
blobd4292ef2c37032c0ba3906074bc5960fe742908c
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7   requests,
8   responses,
9   setuptools,
10   setuptools-scm,
13 buildPythonPackage rec {
14   pname = "testrail-api";
15   version = "1.13.2";
16   pyproject = true;
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "tolstislon";
22     repo = "testrail-api";
23     rev = "refs/tags/${version}";
24     hash = "sha256-GR1yhky33XZZFcPEO2WRvVUkmekG9HoM00doVgTCD+0=";
25   };
27   build-system = [
28     setuptools
29     setuptools-scm
30   ];
32   dependencies = [ requests ];
34   nativeCheckInputs = [
35     pytestCheckHook
36     responses
37   ];
39   pythonImportsCheck = [ "testrail_api" ];
41   meta = {
42     description = "Python wrapper of the TestRail API";
43     homepage = "https://github.com/tolstislon/testrail-api";
44     changelog = "https://github.com/tolstislon/testrail-api/releases/tag/${version}";
45     license = with lib.licenses; [ mit ];
46     maintainers = with lib.maintainers; [ aanderse ];
47   };