evcc: 0.131.8 -> 0.131.10 (#364658)
[NixPkgs.git] / pkgs / development / python-modules / jenkinsapi / default.nix
blob72cea1d05e4c5e92b5d507d12eba6df1bdc02293
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   flit-core,
6   mock,
7   pbr,
8   pytest-mock,
9   pytestCheckHook,
10   pytz,
11   requests,
12   setuptools,
13   six,
16 buildPythonPackage rec {
17   pname = "jenkinsapi";
18   version = "0.3.13";
19   format = "pyproject";
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-JGqYpj5h9UoV0WEFyxVIjFZwc030HobHrw1dnAryQLk=";
24   };
26   patches = [ ./pytest-warn-none.patch ];
28   nativeBuildInputs = [
29     flit-core
30     pbr
31   ];
33   propagatedBuildInputs = [
34     pytz
35     requests
36     setuptools
37     six
38   ];
40   nativeCheckInputs = [
41     mock
42     pytest-mock
43     pytestCheckHook
44   ];
46   # don't run tests that try to spin up jenkins
47   disabledTests = [ "systests" ];
49   pythonImportsCheck = [
50     "jenkinsapi"
51     "jenkinsapi.utils"
52     "jenkinsapi.utils.jenkins_launcher"
53   ];
55   meta = with lib; {
56     description = "Python API for accessing resources on a Jenkins continuous-integration server";
57     homepage = "https://github.com/salimfadhley/jenkinsapi";
58     maintainers = with maintainers; [ drets ] ++ teams.deshaw.members;
59     license = licenses.mit;
60   };