pythonPackages.Nikola: init at 7.8.4
This commit is contained in:
parent
233716f7c9
commit
ef54727795
2 changed files with 61 additions and 0 deletions
59
pkgs/development/python-modules/Nikola/default.nix
Normal file
59
pkgs/development/python-modules/Nikola/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -8198,6 +8198,8 @@ in {
|
|||
|
||||
netcdf4 = callPackage ../development/python-modules/netcdf4.nix { };
|
||||
|
||||
Nikola = callPackage ../development/python-modules/Nikola { };
|
||||
|
||||
nxt-python = buildPythonPackage rec {
|
||||
version = "unstable-20160819";
|
||||
pname = "nxt-python";
|
||||
|
|
Loading…
Reference in a new issue