Merge pull request #326157 from dotlambda/python3Packages.msgraph-core

python312Packages.msgraph-core: 1.1.0 -> 1.1.1
This commit is contained in:
Robert Schütz
2024-07-16 01:49:43 -07:00
committed by GitHub
5 changed files with 65 additions and 6 deletions
@@ -6,7 +6,7 @@
dill,
mock,
pytestCheckHook,
setuptools
setuptools,
}:
buildPythonPackage rec {
@@ -18,7 +18,7 @@ buildPythonPackage rec {
# the package is not included into the PyPI tarball
src = fetchFromGitHub {
owner = "mailgun";
repo = pname;
repo = "expiringdict";
rev = "refs/tags/v${version}";
hash = "sha256-vRhJSHIqc51I+s/wndtfANM44CKW3QS1iajqyoSBf0I=";
};
@@ -48,6 +48,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "expiringdict" ];
meta = with lib; {
changelog = "https://github.com/mailgun/expiringdict/blob/${src.rev}/CHANGELOG.rst";
description = "Dictionary with auto-expiring values for caching purposes";
homepage = "https://github.com/mailgun/expiringdict";
license = licenses.asl20;
@@ -0,0 +1,56 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
setuptools-scm,
crc32c,
lz4,
python-snappy,
zstandard,
botocore,
pytest-mock,
pytestCheckHook,
xxhash,
}:
buildPythonPackage rec {
version = "2.2.2";
pname = "kafka-python-ng";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "wbarnha";
repo = "kafka-python-ng";
rev = "refs/tags/v${version}";
hash = "sha256-ELJvcj91MQ2RTjT1dwgnTGSSG5lP6B6/45dFgtNY2Cc=";
};
build-system = [ setuptools-scm ];
passthru.optional-dependencies = {
crc32c = [ crc32c ];
lz4 = [ lz4 ];
snappy = [ python-snappy ];
zstd = [ zstandard ];
boto = [ botocore ];
};
pythonImportsCheck = [ "kafka" ];
nativeCheckInputs = [
pytest-mock
pytestCheckHook
xxhash
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
meta = {
changelog = "https://github.com/wbarnha/kafka-python-ng/releases/tag/v${version}";
description = "Pure Python client for Apache Kafka";
homepage = "https://github.com/wbarnha/kafka-python-ng";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
@@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "msgraph-core";
version = "1.1.0";
version = "1.1.1";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "microsoftgraph";
repo = "msgraph-sdk-python-core";
rev = "refs/tags/v${version}";
hash = "sha256-bQW1piSypfj3YAfzuEk/AkrB1x0lrHoIDyZv+KeCYgE=";
hash = "sha256-MrZGlp0rvKBNrIOYCWJfnRmD983/OjuQv1DoRVNngKU=";
};
build-system = [ setuptools ];
@@ -20,7 +20,7 @@
google-auth-oauthlib,
hatchling,
imapclient,
kafka-python,
kafka-python-ng,
lxml,
mailsuite,
msgraph-core,
@@ -77,7 +77,7 @@ buildPythonPackage rec {
google-auth-httplib2
google-auth-oauthlib
imapclient
kafka-python
kafka-python-ng
lxml
mailsuite
msgraph-core
+2
View File
@@ -6446,6 +6446,8 @@ self: super: with self; {
kafka-python = callPackage ../development/python-modules/kafka-python { };
kafka-python-ng = callPackage ../development/python-modules/kafka-python-ng { };
kaggle = callPackage ../development/python-modules/kaggle { };
kaitaistruct = callPackage ../development/python-modules/kaitaistruct { };