nixpkgs/pkgs/development/python-modules/stevedore/default.nix

39 lines
757 B
Nix
Raw Normal View History

2020-08-17 08:51:54 -07:00
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
2020-08-16 20:56:20 -07:00
, importlib-metadata
, pbr
, setuptools
, six
}:
2017-05-02 11:11:49 -07:00
buildPythonPackage rec {
pname = "stevedore";
version = "3.3.0";
disabled = pythonOlder "3.6";
2017-05-02 11:11:49 -07:00
src = fetchPypi {
inherit pname version;
sha256 = "3a5bbd0652bf552748871eaa73a4a8dc2899786bc497a2aa1fcb4dcdb0debeee";
2017-05-02 11:11:49 -07:00
};
propagatedBuildInputs = [
pbr
setuptools
six
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
2017-05-02 11:11:49 -07:00
2020-08-16 20:56:20 -07:00
doCheck = false;
pythonImportsCheck = [ "stevedore" ];
2017-05-02 11:11:49 -07:00
2020-08-16 20:56:20 -07:00
meta = with lib; {
2017-05-02 11:11:49 -07:00
description = "Manage dynamic plugins for Python applications";
homepage = "https://docs.openstack.org/stevedore/";
2017-05-02 11:11:49 -07:00
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
2017-05-02 11:11:49 -07:00
};
}