mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
49 lines
1 KiB
Nix
49 lines
1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
hatchling,
|
|
nix-update-script,
|
|
pydantic,
|
|
python-dateutil,
|
|
requests,
|
|
stackit-core,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "stackit-iaas";
|
|
version = "1.4.0";
|
|
pyproject = true;
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "stackit_iaas";
|
|
inherit (finalAttrs) version;
|
|
hash = "sha256-k1I7I0QjUMfr79kSlIXEwqU59pSpw2oPjt+rqYYgV+o=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
pydantic
|
|
python-dateutil
|
|
requests
|
|
stackit-core
|
|
];
|
|
|
|
pythonImportsCheck = [ "stackit.iaas" ];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "STACKIT IaaS API client for Python";
|
|
homepage = "https://github.com/stackitcloud/stackit-sdk-python";
|
|
changelog = "https://github.com/stackitcloud/stackit-sdk-python/blob/services/iaas/v${finalAttrs.version}/services/iaas/CHANGELOG.md";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|