python2Packages.ihatemoney: fix python2 test deps
This commit is contained in:
parent
cef835d40e
commit
1e6bb7ee0b
@ -1,4 +1,4 @@
|
||||
{ buildPythonPackage, lib, fetchFromGitHub, nixosTests
|
||||
{ buildPythonPackage, lib, fetchFromGitHub, isPy27, nixosTests
|
||||
, alembic
|
||||
, aniso8601
|
||||
, Babel
|
||||
@ -20,6 +20,7 @@
|
||||
, jinja2
|
||||
, Mako
|
||||
, markupsafe
|
||||
, mock
|
||||
, python-dateutil
|
||||
, pytz
|
||||
, six
|
||||
@ -74,7 +75,7 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [
|
||||
flask_testing
|
||||
];
|
||||
] ++ lib.optionals isPy27 [ mock ];
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) ihatemoney;
|
||||
|
Loading…
Reference in New Issue
Block a user