python3Packages.scaleway-core: init at 2.11.0

Integrate Scaleway with your Python applications

https://github.com/scaleway/scaleway-sdk-python
This commit is contained in:
Fabian Affolter
2026-06-26 03:15:17 +02:00
parent d920c934e6
commit 08abf742bc
2 changed files with 52 additions and 0 deletions
@@ -0,0 +1,50 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
nix-update-script,
poetry-core,
pytestCheckHook,
python-dateutil,
pyyaml,
requests,
}:
buildPythonPackage (finalAttrs: {
pname = "scaleway-core";
version = "2.11.0";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "scaleway";
repo = "scaleway-sdk-python";
tag = finalAttrs.version;
hash = "sha256-v/dN0vLXr+vCobcrH9E6wXS61qMHsESHyL5BEpsJPkM=";
};
sourceRoot = "${finalAttrs.src.name}/${finalAttrs.pname}";
build-system = [ poetry-core ];
dependencies = [
python-dateutil
pyyaml
requests
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "scaleway_core" ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Integrate Scaleway with your Python applications";
homepage = "https://github.com/scaleway/scaleway-sdk-python";
changelog = "https://github.com/scaleway/scaleway-sdk-python/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
})
+2
View File
@@ -17772,6 +17772,8 @@ self: super: with self; {
scales = callPackage ../development/python-modules/scales { };
scaleway-core = callPackage ../development/python-modules/scaleway-core { };
scalib = callPackage ../development/python-modules/scalib { };
scancode-toolkit = callPackage ../development/python-modules/scancode-toolkit { };