Skip to content

Commit

Permalink
fix: mkdocs-rss-plugin
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 committed Aug 15, 2024
1 parent 85a873d commit 065940d
Showing 1 changed file with 34 additions and 13 deletions.
47 changes: 34 additions & 13 deletions pkgs/mkdocs-rss-plugin/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,45 @@
{ lib
, python3
, fetchPypi
, python3Packages
, fetchFromGitHub
}:

python3.pkgs.buildPythonPackage rec {
python3Packages.buildPythonPackage rec {
pname = "mkdocs-rss-plugin";
version = "1.12.1";
format = "wheel";

src = fetchPypi rec {
inherit version format;
pname = "mkdocs_rss_plugin";
hash = "sha256-rPuO7JXx2zibNncLr5mvO4fjhITMN5kxlKNaoXPrP+g=";
dist = python;
python = "py2.py3";
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 = "MkDocs plugin to generate a RSS feeds for created and updated pages, using git log and YAML frontmatter (page.meta).";
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 ];
};
Expand Down

0 comments on commit 065940d

Please sign in to comment.