504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
38 lines
675 B
Nix
38 lines
675 B
Nix
{ 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 ];
|
|
};
|
|
}
|