about summary refs log tree commit diff
path: root/pkgs/development/python-modules/githubkit/default.nix
blob: 85509528bf35bbd1a8bc35ab0807ef41dc326809 (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
37
38
{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, httpx
, pydantic
, typing-extensions
}:

buildPythonPackage rec {
  pname = "githubkit";
  version = "0.10.7";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-sKikL+761mBP7j+qugHKDQ0hVXT51FV8FYbB3ZJtweA=";
  };

  nativeBuildInputs = [
    poetry-core
  ];

  propagatedBuildInputs = [
    httpx
    pydantic
    typing-extensions
  ];

  pythonImportsCheck = [ "githubkit" ];

  meta = {
    description = "GitHub SDK for Python";
    homepage = "https://github.com/yanyongyu/githubkit";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ kranzes ];
  };
}