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
1 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, flake8, six }: { stdenv, buildPythonPackage, fetchPypi, flake8, six, pythonOlder, importlib-metadata }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "orderedmultidict"; pname = "orderedmultidict";
@ -11,7 +11,10 @@ buildPythonPackage rec {
checkInputs = [ flake8 ]; checkInputs = [ flake8 ];
propagatedBuildInputs = [ six ]; propagatedBuildInputs = [ six ]
++ stdenv.lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Ordered Multivalue Dictionary."; description = "Ordered Multivalue Dictionary.";