evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pygithub / default.nix
blob93232d3816af1ba3416b99be5ab1907eeed42c0f
2   lib,
3   buildPythonPackage,
4   deprecated,
5   fetchFromGitHub,
6   pynacl,
7   typing-extensions,
8   pyjwt,
9   pythonOlder,
10   requests,
11   setuptools,
12   setuptools-scm,
13   urllib3,
16 buildPythonPackage rec {
17   pname = "pygithub";
18   version = "2.4.0";
19   pyproject = true;
21   disabled = pythonOlder "3.8";
23   src = fetchFromGitHub {
24     owner = "PyGithub";
25     repo = "PyGithub";
26     rev = "refs/tags/v${version}";
27     hash = "sha256-VM3xxLa4MlR3vTpeOunsq4/bxZhuKXNKFZbFVul1cMw=";
28   };
30   build-system = [
31     setuptools
32     setuptools-scm
33   ];
35   dependencies = [
36     deprecated
37     pyjwt
38     pynacl
39     requests
40     typing-extensions
41     urllib3
42   ] ++ pyjwt.optional-dependencies.crypto;
44   # Test suite makes REST calls against github.com
45   doCheck = false;
47   pythonImportsCheck = [ "github" ];
49   meta = with lib; {
50     description = "Python library to access the GitHub API v3";
51     homepage = "https://github.com/PyGithub/PyGithub";
52     changelog = "https://github.com/PyGithub/PyGithub/raw/v${version}/doc/changes.rst";
53     license = licenses.lgpl3Plus;
54     maintainers = [ ];
55   };