python2Packages.ihatemoney: fix python2 test deps

This commit is contained in:
Jonathan Ringer 2020-01-09 11:35:05 -08:00 committed by Jon
parent cef835d40e
commit 1e6bb7ee0b

View File

@ -1,4 +1,4 @@
{ buildPythonPackage, lib, fetchFromGitHub, nixosTests { buildPythonPackage, lib, fetchFromGitHub, isPy27, nixosTests
, alembic , alembic
, aniso8601 , aniso8601
, Babel , Babel
@ -20,6 +20,7 @@
, jinja2 , jinja2
, Mako , Mako
, markupsafe , markupsafe
, mock
, python-dateutil , python-dateutil
, pytz , pytz
, six , six
@ -74,7 +75,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
flask_testing flask_testing
]; ] ++ lib.optionals isPy27 [ mock ];
passthru.tests = { passthru.tests = {
inherit (nixosTests) ihatemoney; inherit (nixosTests) ihatemoney;