From 810f9640da9600dfdcc20ae211cf2902be7d1169 Mon Sep 17 00:00:00 2001 From: Milo Gertjejansen Date: Mon, 20 Jun 2022 11:06:28 -0400 Subject: tt-rss-plugin-feediron: init at 1.32 (#142277) * tt-rss-plugin-feediron: init at v1.32 Adds feediron plugin for tt-rss. * Apply suggestions from code review Co-authored-by: Sandro * Remove stray semi-colon Co-authored-by: Sandro --- pkgs/servers/tt-rss/plugin-feediron/default.nix | 33 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 34 insertions(+) create mode 100644 pkgs/servers/tt-rss/plugin-feediron/default.nix diff --git a/pkgs/servers/tt-rss/plugin-feediron/default.nix b/pkgs/servers/tt-rss/plugin-feediron/default.nix new file mode 100644 index 00000000000..d7353bf4c43 --- /dev/null +++ b/pkgs/servers/tt-rss/plugin-feediron/default.nix @@ -0,0 +1,33 @@ +{ lib, stdenv, fetchFromGitHub, tt-rss }: + +stdenv.mkDerivation rec { + pname = "tt-rss-plugin-feediron"; + version = "1.32"; + + src = fetchFromGitHub { + owner = "feediron"; + repo = "ttrss_plugin-feediron"; + rev = "v${version}"; + sha256 = "0a4nq0k0zmgmx7dzz70smhp0yxp7jynk9djz0nnbaa138h8888pr"; + }; + + installPhase = '' + mkdir -p $out/feediron + + cp -r bin filters init.php preftab recipes $out/feediron/ + ''; + + meta = with lib; { + description = "Evolution of ttrss_plugin-af_feedmod"; + longDescription = '' + This is a plugin for Tiny Tiny RSS (tt-rss). + It allows you to replace an article's contents by the contents of an element on the linked URL's page + + i.e. create a "full feed". + ''; + license = licenses.mit; + homepage = "https://github.com/feediron/ttrss_plugin-feediron"; + maintainers = with maintainers; [ milogert ]; + inherit (tt-rss.meta) platforms; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 206c6522872..e2284cbdef4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22796,6 +22796,7 @@ with pkgs; }; tt-rss = callPackage ../servers/tt-rss { }; + tt-rss-plugin-feediron = callPackage ../servers/tt-rss/plugin-feediron { }; tt-rss-plugin-ff-instagram = callPackage ../servers/tt-rss/plugin-ff-instagram { }; tt-rss-plugin-auth-ldap = callPackage ../servers/tt-rss/plugin-auth-ldap { }; tt-rss-theme-feedly = callPackage ../servers/tt-rss/theme-feedly { }; -- cgit 1.4.1