Merge pull request #97765 from freezeboy/fix-dependency-injector

python2Packages.dependency-injector: add missing dependencies
This commit is contained in:
Robert Scott 2020-09-13 12:00:40 +01:00 committed by GitHub
commit b3fd4226ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, six, unittest2 }: { stdenv, buildPythonPackage, fetchPypi, isPy3k, six, unittest2, pyyaml, flask }:
let let
testPath = testPath =
@ -17,7 +17,7 @@ buildPythonPackage rec {
}; };
propagatedBuildInputs = [ six ]; propagatedBuildInputs = [ six ];
checkInputs = [ unittest2 ]; checkInputs = [ unittest2 pyyaml flask ];
checkPhase = '' checkPhase = ''
unit2 discover -s tests/unit -p "${testPath}" unit2 discover -s tests/unit -p "${testPath}"