From e111ed38e1b480b8d66ccbf841ff372f429c5ea0 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Sun, 30 Jun 2024 13:48:33 +0200 Subject: [PATCH] python3Packages.nikola: 8.3.0 -> 8.3.1 Flagging as security related as it includes the removal of `polyfill.io` CDN which is now considered to be a bad actor. https://github.com/getnikola/nikola/commit/f7c2e915e6386b89a774e7e1c57290e8a9749f15 Changes: https://github.com/getnikola/nikola/releases/tag/v8.3.1 --- pkgs/development/python-modules/nikola/default.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/nikola/default.nix b/pkgs/development/python-modules/nikola/default.nix index 3af0fd4b9eb6..955679a5b860 100644 --- a/pkgs/development/python-modules/nikola/default.nix +++ b/pkgs/development/python-modules/nikola/default.nix @@ -8,7 +8,6 @@ doit, feedparser, fetchPypi, - fetchpatch2, freezegun, ghp-import, hsluv, @@ -44,7 +43,7 @@ buildPythonPackage rec { pname = "nikola"; - version = "8.3.0"; + version = "8.3.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -52,17 +51,9 @@ 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" ""