2020-08-17 16:51:54 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
2020-08-17 04:56:20 +01:00
|
|
|
, importlib-metadata
|
|
|
|
, pbr
|
|
|
|
, setuptools
|
|
|
|
, six
|
|
|
|
}:
|
2017-05-02 19:11:49 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "stevedore";
|
2020-10-03 19:26:22 +01:00
|
|
|
version = "3.2.2";
|
2020-08-17 05:12:07 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
2017-05-02 19:11:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-03 19:26:22 +01:00
|
|
|
sha256 = "f845868b3a3a77a2489d226568abe7328b5c2d4f6a011cc759dfa99144a521f0";
|
2017-05-02 19:11:49 +01:00
|
|
|
};
|
|
|
|
|
2020-08-17 04:56:20 +01:00
|
|
|
propagatedBuildInputs = [ pbr setuptools six ]
|
|
|
|
++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
|
2017-05-02 19:11:49 +01:00
|
|
|
|
2020-08-17 04:56:20 +01:00
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "stevedore" ];
|
2017-05-02 19:11:49 +01:00
|
|
|
|
2020-08-17 04:56:20 +01:00
|
|
|
meta = with lib; {
|
2017-05-02 19:11:49 +01:00
|
|
|
description = "Manage dynamic plugins for Python applications";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/stevedore";
|
2017-05-02 19:11:49 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|