pythonPackages.Nikola: 7.8.15 -> 8.0.1
This commit is contained in:
parent
b25bb5c963
commit
f9e7e3887b
@ -25,30 +25,39 @@
|
||||
, markdown
|
||||
, phpserialize
|
||||
, jinja2
|
||||
, Babel
|
||||
, freezegun
|
||||
, pyyaml
|
||||
, toml
|
||||
, notebook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Nikola";
|
||||
version = "7.8.15";
|
||||
version = "8.0.1";
|
||||
|
||||
# Nix contains only Python 3 supported version of doit, which is a dependency
|
||||
# of Nikola. Python 2 support would require older doit 0.29.0 (which on the
|
||||
# other hand doesn't support Python 3.3). So, just disable Python 2.
|
||||
disabled = !isPy3k;
|
||||
|
||||
checkInputs = [ pytest pytestcov mock glibcLocales ];
|
||||
checkInputs = [ pytest pytestcov mock glibcLocales freezegun ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pygments pillow dateutil docutils Mako unidecode lxml Yapsy PyRSS2Gen
|
||||
Logbook blinker setuptools natsort requests piexif markdown phpserialize
|
||||
jinja2 doit
|
||||
jinja2 doit Babel pyyaml toml notebook
|
||||
];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "182b4b9254f0d710603ba491853429ad6ef3f955f3e718191336b44cfd649000";
|
||||
sha256 = "18bq68f9v7xk9ahjl6x4k77yysq5g6g07ng2ndbg35kcsdnw4nk6";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" py.test .
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://getnikola.com/;
|
||||
description = "A modular, fast, simple, static website and blog generator";
|
||||
|
Loading…
x
Reference in New Issue
Block a user