python3Packages.stackit-core: init at 0.2.0

Core functionality for the STACKIT SDK

https://github.com/stackitcloud/stackit-sdk-python
This commit is contained in:
Fabian Affolter
2026-06-26 14:24:37 +02:00
parent 5e8a08a2a8
commit 5b1ae4f3ad
2 changed files with 58 additions and 0 deletions
@@ -0,0 +1,56 @@
{
lib,
buildPythonPackage,
cryptography,
fetchPypi,
hatchling,
nix-update-script,
poetry-core,
pydantic,
pyjwt,
requests,
setuptools,
urllib3,
}:
buildPythonPackage (finalAttrs: {
pname = "stackit-core";
version = "0.2.0";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
pname = "stackit_core";
inherit (finalAttrs) version;
hash = "sha256-uK+Rh3zbBg1paaMD2M8gvAszs0Wv2R9nnESphzgeLUc=";
};
build-system = [
poetry-core
setuptools
];
dependencies = [
cryptography
pydantic
pyjwt
requests
urllib3
];
pythonImportsCheck = [ "stackit.core" ];
# Tests are not included in PyPI release
doCheck = false;
passthru.updateScript = nix-update-script { };
meta = {
description = "Core functionality for the STACKIT SDK";
homepage = "https://github.com/stackitcloud/stackit-sdk-python";
changelog = "https://github.com/stackitcloud/stackit-sdk-python/releases/tag/core/v${finalAttrs.version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
})
+2
View File
@@ -19063,6 +19063,8 @@ self: super: with self; {
stack-data = callPackage ../development/python-modules/stack-data { };
stackit-core = callPackage ../development/python-modules/stackit-core { };
stackprinter = callPackage ../development/python-modules/stackprinter { };
stamina = callPackage ../development/python-modules/stamina { };