python37Packages.orderedmultidict: add missing dependencies

This commit is contained in:
Jonathan Ringer 2020-06-08 12:44:21 -07:00 committed by Frederik Rietdijk
parent 27f0dabfbf
commit 9196ced870

View File

@ -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.";