python37Packages.orderedmultidict: add missing dependencies
This commit is contained in:
parent
27f0dabfbf
commit
9196ced870
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, flake8, six }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, flake8, six, pythonOlder, importlib-metadata }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "orderedmultidict";
|
||||
@ -11,7 +11,10 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [ flake8 ];
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
propagatedBuildInputs = [ six ]
|
||||
++ stdenv.lib.optionals (pythonOlder "3.8") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Ordered Multivalue Dictionary.";
|
||||
|
Loading…
Reference in New Issue
Block a user