python311Packages.python-aodhclient: init at 3.6.0
https://docs.openstack.org/python-aodhclient/latest/
This commit is contained in:
parent
a8b484780d
commit
19558c52e2
@ -0,0 +1,82 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
cliff,
|
||||
fetchFromGitHub,
|
||||
keystoneauth1,
|
||||
openstackdocstheme,
|
||||
osc-lib,
|
||||
oslo-i18n,
|
||||
oslo-serialization,
|
||||
oslo-utils,
|
||||
oslotest,
|
||||
osprofiler,
|
||||
pbr,
|
||||
pyparsing,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
sphinxHook,
|
||||
stestr,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-aodhclient";
|
||||
version = "3.6.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openstack";
|
||||
repo = "python-aodhclient";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-FArXBkDOY0Weu3Fm/M0Qgg0XHTy95MqlUidZ/hUZfB8=";
|
||||
};
|
||||
|
||||
env.PBR_VERSION = version;
|
||||
|
||||
build-system = [
|
||||
pbr
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
openstackdocstheme
|
||||
sphinxHook
|
||||
];
|
||||
|
||||
sphinxBuilders = [ "man" ];
|
||||
|
||||
dependencies = [
|
||||
cliff
|
||||
keystoneauth1
|
||||
osc-lib
|
||||
oslo-i18n
|
||||
oslo-serialization
|
||||
oslo-utils
|
||||
osprofiler
|
||||
pbr
|
||||
pyparsing
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
oslotest
|
||||
stestr
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
stestr run
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "aodhclient" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://opendev.org/openstack/python-aodhclient";
|
||||
description = "Client library for OpenStack Aodh API";
|
||||
license = lib.licenses.asl20;
|
||||
mainProgram = "aodh";
|
||||
maintainers = lib.teams.openstack.members;
|
||||
};
|
||||
}
|
@ -7,6 +7,7 @@
|
||||
osc-lib,
|
||||
osc-placement,
|
||||
pbr,
|
||||
python-aodhclient,
|
||||
python-barbicanclient,
|
||||
python-cinderclient,
|
||||
python-designateclient,
|
||||
@ -76,6 +77,7 @@ buildPythonPackage rec {
|
||||
# See https://github.com/openstack/python-openstackclient/blob/master/doc/source/contributor/plugins.rst
|
||||
cli-plugins = [
|
||||
osc-placement
|
||||
python-aodhclient
|
||||
python-barbicanclient
|
||||
python-designateclient
|
||||
python-heatclient
|
||||
|
@ -12559,6 +12559,8 @@ self: super: with self; {
|
||||
|
||||
python3-openid = callPackage ../development/python-modules/python3-openid { };
|
||||
|
||||
python-aodhclient = callPackage ../development/python-modules/python-aodhclient { };
|
||||
|
||||
python-apt = callPackage ../development/python-modules/python-apt { };
|
||||
|
||||
python-arango = callPackage ../development/python-modules/python-arango { };
|
||||
|
Loading…
Reference in New Issue
Block a user