diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-02-12 12:46:57 +0100 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-02-12 12:46:57 +0100 |
commit | 1674636aa75afbd1e11bfd91ea3aa960a3f819cd (patch) | |
tree | eec271ea7f357798c6fe4b046c2bab9db5bc1905 /pkgs | |
parent | 804bf3c22a4e64342dc40141a5df77e9c7d2f9a3 (diff) | |
download | nixlib-1674636aa75afbd1e11bfd91ea3aa960a3f819cd.tar nixlib-1674636aa75afbd1e11bfd91ea3aa960a3f819cd.tar.gz nixlib-1674636aa75afbd1e11bfd91ea3aa960a3f819cd.tar.bz2 nixlib-1674636aa75afbd1e11bfd91ea3aa960a3f819cd.tar.lz nixlib-1674636aa75afbd1e11bfd91ea3aa960a3f819cd.tar.xz nixlib-1674636aa75afbd1e11bfd91ea3aa960a3f819cd.tar.zst nixlib-1674636aa75afbd1e11bfd91ea3aa960a3f819cd.zip |
python3Packages.Nikola: add mock to checkInputs
mock is no longer in propagatedBuildInputs of pytest-mock for python>2.7
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/Nikola/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/Nikola/default.nix b/pkgs/development/python-modules/Nikola/default.nix index 8f8d91c64d2f..f5efd9c63763 100644 --- a/pkgs/development/python-modules/Nikola/default.nix +++ b/pkgs/development/python-modules/Nikola/default.nix @@ -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 |