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:
@@ -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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user