python312Packages.os-client-config: init at 2.1.0

This commit is contained in:
Valentin Chassignol 2024-07-23 10:39:48 +02:00 committed by Vinetos
parent 3b9b9b38d7
commit 735db61d4b
No known key found for this signature in database
GPG Key ID: 7F9A3DD5F8A18F8B
2 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,62 @@
{
lib,
buildPythonPackage,
fetchPypi,
fixtures,
hacking,
jsonschema,
openstacksdk,
oslotest,
python-glanceclient,
setuptools,
stestr,
subunit,
testscenarios,
testtools,
}:
buildPythonPackage rec {
pname = "os-client-config";
version = "2.1.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-q8OKNR+MAG009+5fP2SN5ePs9kVcxdds/YidKRzfP04=";
};
build-system = [ setuptools ];
dependencies = [
openstacksdk
python-glanceclient
];
nativeCheckInputs = [
hacking
fixtures
jsonschema
subunit
oslotest
stestr
testscenarios
testtools
];
checkPhase = ''
runHook preCheck
stestr run
runHook postCheck
'';
pythonImportsCheck = [ "os_client_config" ];
meta = with lib; {
homepage = "https://opendev.org/openstack/os-client-config";
description = "Collect client configuration for using OpenStack in consistent and comprehensive manner";
license = licenses.asl20;
maintainers = teams.openstack.members;
};
}

View File

@ -9715,6 +9715,8 @@ self: super: with self; {
orvibo = callPackage ../development/python-modules/orvibo { };
os-client-config = callPackage ../development/python-modules/os-client-config { };
os-service-types = callPackage ../development/python-modules/os-service-types { };
osc = callPackage ../development/python-modules/osc { };