python37Packages.stevedore: fix build
This commit is contained in:
parent
996e817508
commit
8dc8a057bd
@ -1,4 +1,9 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pbr, setuptools, six }:
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
||||
, importlib-metadata
|
||||
, pbr
|
||||
, setuptools
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stevedore";
|
||||
@ -6,14 +11,16 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "38791aa5bed922b0a844513c5f9ed37774b68edc609e5ab8ab8d8fe0ce4315e5";
|
||||
sha256 = "1r8m8g7f13wdmfw5m7k0vj7bcx3psfg5yg2i8jlb08nrpsjily9q";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pbr setuptools six ]
|
||||
++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
|
||||
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "stevedore" ];
|
||||
|
||||
propagatedBuildInputs = [ pbr setuptools six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Manage dynamic plugins for Python applications";
|
||||
homepage = "https://pypi.python.org/pypi/stevedore";
|
||||
license = licenses.asl20;
|
||||
|
Loading…
Reference in New Issue
Block a user