python310Packages.python-manilaclient: disable on older Python releases
This commit is contained in:
parent
533b561c0a
commit
6757663090
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue