Merge pull request #293428 from fabaff/nikola-fix
python311Packages.nikola: 8.2.4 -> 8.3.0
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, aiohttp
|
||||
, babel
|
||||
, blinker
|
||||
, buildPythonPackage
|
||||
, python-dateutil
|
||||
, docutils
|
||||
, doit
|
||||
, feedparser
|
||||
, fetchPypi
|
||||
, freezegun
|
||||
, ghp-import
|
||||
@@ -28,10 +29,11 @@
|
||||
, pyphen
|
||||
, pyrss2gen
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, requests
|
||||
, ruamel-yaml
|
||||
, stdenv
|
||||
, setuptools
|
||||
, toml
|
||||
, typogrify
|
||||
, unidecode
|
||||
@@ -41,24 +43,33 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nikola";
|
||||
version = "8.2.4";
|
||||
format = "setuptools";
|
||||
version = "8.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Nikola";
|
||||
inherit version;
|
||||
hash = "sha256-LNVk2zfNwY4CC4qulqfNXwi3mWyFxzWIeMykh6gFOL8=";
|
||||
hash = "sha256-VYuhiGLMTHcOZM8/bGZT7Xx5BOHo9gsMPjufYglrBL0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace-fail "--cov nikola --cov-report term-missing" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
babel
|
||||
blinker
|
||||
python-dateutil
|
||||
docutils
|
||||
doit
|
||||
feedparser
|
||||
ghp-import
|
||||
hsluv
|
||||
html5lib
|
||||
@@ -77,6 +88,7 @@ buildPythonPackage rec {
|
||||
pygments
|
||||
pyphen
|
||||
pyrss2gen
|
||||
python-dateutil
|
||||
requests
|
||||
ruamel-yaml
|
||||
toml
|
||||
@@ -92,11 +104,6 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov nikola --cov-report term-missing" ""
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError
|
||||
"test_compiling_markdown"
|
||||
@@ -107,7 +114,9 @@ buildPythonPackage rec {
|
||||
"test_format_date_locale_variants"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "nikola" ];
|
||||
pythonImportsCheck = [
|
||||
"nikola"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Static website and blog generator";
|
||||
|
||||
Reference in New Issue
Block a user