python310Packages.python-manilaclient: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-05-21 12:36:01 +02:00 committed by GitHub
parent 533b561c0a
commit 6757663090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,15 +18,19 @@
, python-keystoneclient
, debtcollector
, callPackage
, pythonOlder
}:
buildPythonApplication rec {
pname = "python-manilaclient";
version = "3.4.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-F41/k7NJigwFNw2946sj3dZDKDH+PkgOjkml9t3Mgtw=";
hash = "sha256-F41/k7NJigwFNw2946sj3dZDKDH+PkgOjkml9t3Mgtw=";
};
nativeBuildInputs = [
@ -64,7 +68,9 @@ buildPythonApplication rec {
tests = callPackage ./tests.nix { };
};
pythonImportsCheck = [ "manilaclient" ];
pythonImportsCheck = [
"manilaclient"
];
meta = with lib; {
description = "Client library for OpenStack Manila API";