pythonPackages.Nikola: init at 7.8.4

This commit is contained in:
Jaakko Luttinen 2017-05-17 09:19:16 +03:00
parent 233716f7c9
commit ef54727795
No known key found for this signature in database
GPG Key ID: 7B1CE13152E6B964
2 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,59 @@
{ lib
, buildPythonPackage
, isPy3k
, fetchPypi
, doit
, glibcLocales
, pytest
, pytestcov
, pytest-mock
, pygments
, pillow
, dateutil
, docutils
, Mako
, unidecode
, lxml
, Yapsy
, PyRSS2Gen
, Logbook
, blinker
, setuptools
, natsort
, requests
, piexif
, markdown
, phpserialize
, jinja2
}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "Nikola";
version = "7.8.4";
# 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;
buildInputs = [ pytest pytestcov pytest-mock glibcLocales ];
propagatedBuildInputs = [
pygments pillow dateutil docutils Mako unidecode lxml Yapsy PyRSS2Gen
Logbook blinker setuptools natsort requests piexif markdown phpserialize
jinja2 doit
];
src = fetchPypi {
inherit pname version;
sha256 = "14pd5zk6l6f58snq9n9zpxwhqcc3xz8b1gz31zsrqajggg1i8fn8";
};
meta = {
homepage = "https://getnikola.com/";
description = "A modular, fast, simple, static website and blog generator";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jluttine ];
};
}

View File

@ -8198,6 +8198,8 @@ in {
netcdf4 = callPackage ../development/python-modules/netcdf4.nix { }; netcdf4 = callPackage ../development/python-modules/netcdf4.nix { };
Nikola = callPackage ../development/python-modules/Nikola { };
nxt-python = buildPythonPackage rec { nxt-python = buildPythonPackage rec {
version = "unstable-20160819"; version = "unstable-20160819";
pname = "nxt-python"; pname = "nxt-python";