Skip to content

Commit

Permalink
python311Packages.python-mistralclient: init at 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyroussel committed Sep 1, 2024
1 parent 6675058 commit c03d445
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 0 deletions.
95 changes: 95 additions & 0 deletions pkgs/development/python-modules/python-mistralclient/default.nix
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;
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
python-ironicclient,
python-keystoneclient,
python-manilaclient,
python-mistralclient,
python-neutronclient,
python-openstackclient,
requests-mock,
Expand Down Expand Up @@ -74,6 +75,7 @@ buildPythonPackage rec {
python-heatclient
python-ironicclient
python-manilaclient
python-mistralclient
python-neutronclient
];
};
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22971,6 +22971,7 @@ with pkgs;
heatclient = with python311Packages; toPythonApplication python-heatclient;
ironicclient = with python311Packages; toPythonApplication python-ironicclient;
manilaclient = with python311Packages; toPythonApplication python-manilaclient;
mistralclient = with python311Packages; toPythonApplication python-mistralclient;
swiftclient = with python311Packages; toPythonApplication python-swiftclient;

openvdb = callPackage ../development/libraries/openvdb { };
Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13008,6 +13008,8 @@ self: super: with self; {

python-mimeparse = callPackage ../development/python-modules/python-mimeparse { };

python-mistralclient = callPackage ../development/python-modules/python-mistralclient { };

python-mnist = callPackage ../development/python-modules/python-mnist { };

python-mpv-jsonipc = callPackage ../development/python-modules/python-mpv-jsonipc { };
Expand Down

0 comments on commit c03d445

Please sign in to comment.