-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python311Packages.python-mistralclient: init at 5.3.0
- Loading branch information
1 parent
6675058
commit c03d445
Showing
4 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
95 changes: 95 additions & 0 deletions
95
pkgs/development/python-modules/python-mistralclient/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
{ | ||
lib, | ||
buildPythonPackage, | ||
cliff, | ||
fetchFromGitea, | ||
keystoneauth1, | ||
openstackdocstheme, | ||
os-client-config, | ||
osc-lib, | ||
oslo-i18n, | ||
oslo-serialization, | ||
oslo-utils, | ||
oslotest, | ||
osprofiler, | ||
pbr, | ||
pythonOlder, | ||
pyyaml, | ||
requests-mock, | ||
requests, | ||
setuptools, | ||
sphinxcontrib-apidoc, | ||
sphinxHook, | ||
stestr, | ||
stevedore, | ||
tempest, | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "python-mistralclient"; | ||
version = "5.3.0"; | ||
pyproject = true; | ||
|
||
disabled = pythonOlder "3.8"; | ||
|
||
src = fetchFromGitea { | ||
domain = "opendev.org"; | ||
owner = "openstack"; | ||
repo = "python-mistralclient"; | ||
rev = version; | ||
hash = "sha256-Vi56+OlFU2Aj7yJ/cH5y0ZbzPhglTciJcTnkbA0S7Qo="; | ||
}; | ||
|
||
env.PBR_VERSION = version; | ||
|
||
nativeBuildInputs = [ | ||
openstackdocstheme | ||
sphinxHook | ||
sphinxcontrib-apidoc | ||
]; | ||
|
||
sphinxBuilders = [ "man" ]; | ||
|
||
build-system = [ | ||
setuptools | ||
pbr | ||
]; | ||
|
||
dependencies = [ | ||
cliff | ||
keystoneauth1 | ||
osc-lib | ||
oslo-i18n | ||
oslo-serialization | ||
oslo-utils | ||
pbr | ||
pyyaml | ||
requests | ||
stevedore | ||
]; | ||
|
||
nativeCheckInputs = [ | ||
os-client-config | ||
oslotest | ||
osprofiler | ||
requests-mock | ||
stestr | ||
tempest | ||
]; | ||
|
||
checkPhase = '' | ||
runHook preCheck | ||
stestr run | ||
runHook postCheck | ||
''; | ||
|
||
pythonImportsCheck = [ "mistralclient" ]; | ||
|
||
meta = with lib; { | ||
description = "OpenStack Mistral Command-line Client"; | ||
homepage = "https://opendev.org/openstack/python-mistralclient/"; | ||
license = licenses.asl20; | ||
mainProgram = "mistral"; | ||
maintainers = teams.openstack.members; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters