about summary refs log tree commit diff
path: root/pkgs/development/python-modules/nikola/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/nikola/default.nix')
-rw-r--r--pkgs/development/python-modules/nikola/default.nix102
1 files changed, 45 insertions, 57 deletions
diff --git a/pkgs/development/python-modules/nikola/default.nix b/pkgs/development/python-modules/nikola/default.nix
index 2b9e37d62dae..955679a5b860 100644
--- a/pkgs/development/python-modules/nikola/default.nix
+++ b/pkgs/development/python-modules/nikola/default.nix
@@ -1,49 +1,49 @@
-{ lib
-, aiohttp
-, babel
-, blinker
-, buildPythonPackage
-, docutils
-, doit
-, feedparser
-, fetchPypi
-, fetchpatch2
-, freezegun
-, ghp-import
-, hsluv
-, html5lib
-, ipykernel
-, jinja2
-, lxml
-, mako
-, markdown
-, micawber
-, mock
-, natsort
-, notebook
-, phpserialize
-, piexif
-, pillow
-, pygal
-, pygments
-, pyphen
-, pyrss2gen
-, pytestCheckHook
-, python-dateutil
-, pythonOlder
-, requests
-, ruamel-yaml
-, setuptools
-, toml
-, typogrify
-, unidecode
-, watchdog
-, yapsy
+{
+  lib,
+  aiohttp,
+  babel,
+  blinker,
+  buildPythonPackage,
+  docutils,
+  doit,
+  feedparser,
+  fetchPypi,
+  freezegun,
+  ghp-import,
+  hsluv,
+  html5lib,
+  ipykernel,
+  jinja2,
+  lxml,
+  mako,
+  markdown,
+  micawber,
+  mock,
+  natsort,
+  notebook,
+  phpserialize,
+  piexif,
+  pillow,
+  pygal,
+  pygments,
+  pyphen,
+  pyrss2gen,
+  pytestCheckHook,
+  python-dateutil,
+  pythonOlder,
+  requests,
+  ruamel-yaml,
+  setuptools,
+  toml,
+  typogrify,
+  unidecode,
+  watchdog,
+  yapsy,
 }:
 
 buildPythonPackage rec {
   pname = "nikola";
-  version = "8.3.0";
+  version = "8.3.1";
   pyproject = true;
 
   disabled = pythonOlder "3.8";
@@ -51,25 +51,15 @@ buildPythonPackage rec {
   src = fetchPypi {
     pname = "Nikola";
     inherit version;
-    hash = "sha256-VYuhiGLMTHcOZM8/bGZT7Xx5BOHo9gsMPjufYglrBL0=";
+    hash = "sha256-IfJB2Rl3c1MyEiuyNpT3udfpM480VvFD8zosJFDHr7k=";
   };
 
-  patches = [
-    (fetchpatch2 {
-      name = "nikola-pytest8-compat.patch";
-      url = "https://github.com/getnikola/nikola/commit/5f1003f91cd59f62622d379efe9be5fb19a1ed3e.patch";
-      hash = "sha256-2H3125RUnwvN/XgwgfRe1139rhAz/9viMEcUYRGQMPs=";
-    })
-  ];
-
   postPatch = ''
     substituteInPlace setup.cfg \
       --replace-fail "--cov nikola --cov-report term-missing" ""
   '';
 
-  nativeBuildInputs = [
-    setuptools
-  ];
+  nativeBuildInputs = [ setuptools ];
 
   propagatedBuildInputs = [
     aiohttp
@@ -122,9 +112,7 @@ buildPythonPackage rec {
     "test_format_date_locale_variants"
   ];
 
-  pythonImportsCheck = [
-    "nikola"
-  ];
+  pythonImportsCheck = [ "nikola" ];
 
   meta = with lib; {
     description = "Static website and blog generator";