summary refs log tree commit diff
path: root/pkgs/development/python-modules/testrail-api/default.nix
blob: 6da3e202672ad031080f9b81b5fb2fbf8032e6d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 ];
  };
}