From 9d05b998cdd799f11193c08ec864a56e1ba4f2f8 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Thu, 15 Aug 2024 10:20:36 -0300 Subject: [PATCH] fix: mkdocs plugin Signed-off-by: Carlos Alexandro Becker --- default.nix | 1 - .../default.nix | 4 +- pkgs/mkdocs-rss-plugin/default.nix | 46 ------------------- 3 files changed, 2 insertions(+), 49 deletions(-) delete mode 100644 pkgs/mkdocs-rss-plugin/default.nix diff --git a/default.nix b/default.nix index 28ee936..37f66e9 100644 --- a/default.nix +++ b/default.nix @@ -29,6 +29,5 @@ timer = pkgs.callPackage ./pkgs/timer { }; xdg-open-svc = pkgs.callPackage ./pkgs/xdg-open-svc { }; - mkdocs-rss-plugin = pkgs.callPackage ./pkgs/mkdocs-rss-plugin { }; mkdocs-include-markdown-plugin = pkgs.callPackage ./pkgs/mkdocs-include-markdown-plugin { }; } diff --git a/pkgs/mkdocs-include-markdown-plugin/default.nix b/pkgs/mkdocs-include-markdown-plugin/default.nix index f4037eb..61a0687 100644 --- a/pkgs/mkdocs-include-markdown-plugin/default.nix +++ b/pkgs/mkdocs-include-markdown-plugin/default.nix @@ -5,13 +5,13 @@ python3.pkgs.buildPythonPackage rec { pname = "mkdocs-include-markdown-plugin"; - version = "6.0.4"; + version = "6.2.2"; format = "wheel"; src = fetchPypi rec { inherit version format; pname = "mkdocs_include_markdown_plugin"; - hash = "sha256-57i17MQdaj4Wlpz/NyXsOjkbaOnf4aS042qFCL7NqDU="; + hash = "sha256-0pOVD2SZ0pRCkcp7m8SmDmUrv9PjpCtWT2zO7iaGlOc="; dist = python; python = "py3"; }; diff --git a/pkgs/mkdocs-rss-plugin/default.nix b/pkgs/mkdocs-rss-plugin/default.nix deleted file mode 100644 index 0f73dd8..0000000 --- a/pkgs/mkdocs-rss-plugin/default.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ lib -, python3Packages -, fetchFromGitHub -}: - -python3Packages.buildPythonPackage rec { - pname = "mkdocs-rss-plugin"; - version = "1.8.0"; - pyproject = true; - - disabled = python3Packages.pythonOlder "3.8"; - - src = fetchFromGitHub { - owner = "Guts"; - repo = "mkdocs-rss-plugin"; - rev = "refs/tags/${version}"; - hash = "sha256-rCz1Uk5uqIsnIWw0b1oBsjAO6aK/tpVgqAX/8dVnAGw="; - }; - - nativeBuildInputs = with python3Packages; [ - setuptools - ]; - - nativeCheckInputs = with python3Packages; [ - pytestCheckHook - ]; - - propagatedBuildInputs = with python3Packages; [ - mkdocs - gitpython - ]; - - doCheck = false; - - meta = with lib; { - description = "Plugin to generate a RSS feeds for created and updated pages"; - longDescription = '' - MkDocs plugin to generate a RSS feeds for created and updated pages, using - git log and YAML frontmatter (page.meta). - ''; - homepage = "https://github.com/Guts/mkdocs-rss-plugin"; - changelog = "https://github.com/Guts/mkdocs-rss-plugin/blob/${version}/CHANGELOG.md"; - license = licenses.mit; - maintainers = with maintainers; [ caarlos0 ]; - }; -}