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
|
, 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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user