python3Packages.scaleway: 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 01:19:10 +02:00
parent 08abf742bc
commit 1ff982dd2d
2 changed files with 46 additions and 0 deletions
@@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
nix-update-script,
poetry-core,
scaleway-core,
}:
buildPythonPackage (finalAttrs: {
pname = "scaleway";
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 = [ scaleway-core ];
# Tests require credentials
doCheck = false;
pythonImportsCheck = [ "scaleway" ];
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 = callPackage ../development/python-modules/scaleway { };
scaleway-core = callPackage ../development/python-modules/scaleway-core { };
scalib = callPackage ../development/python-modules/scalib { };