python3Packages.Nikola: add mock to checkInputs

mock is no longer in propagatedBuildInputs of pytest-mock for python>2.7
This commit is contained in:
Robert Schütz 2018-02-12 12:46:57 +01:00
parent 804bf3c22a
commit 1674636aa7

View file

@ -7,6 +7,7 @@
, pytest
, pytestcov
, pytest-mock
, mock
, pygments
, pillow
, dateutil
@ -28,7 +29,6 @@
}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "Nikola";
version = "7.8.11";
@ -37,7 +37,7 @@ buildPythonPackage rec {
# other hand doesn't support Python 3.3). So, just disable Python 2.
disabled = !isPy3k;
buildInputs = [ pytest pytestcov pytest-mock glibcLocales ];
checkInputs = [ pytest pytestcov pytest-mock mock glibcLocales ];
propagatedBuildInputs = [
pygments pillow dateutil docutils Mako unidecode lxml Yapsy PyRSS2Gen