From 619db5d8f47a33b6ab851239cafedcc582ef8313 Mon Sep 17 00:00:00 2001 From: aleksana Date: Tue, 18 Jun 2024 21:46:55 +0800 Subject: gnome-feeds: move to pkgs/by-name --- .../networking/feedreaders/gnome-feeds/default.nix | 89 ---------------------- .../feedreaders/gnome-feeds/listparser.nix | 33 -------- 2 files changed, 122 deletions(-) delete mode 100644 pkgs/applications/networking/feedreaders/gnome-feeds/default.nix delete mode 100644 pkgs/applications/networking/feedreaders/gnome-feeds/listparser.nix (limited to 'pkgs/applications/networking') diff --git a/pkgs/applications/networking/feedreaders/gnome-feeds/default.nix b/pkgs/applications/networking/feedreaders/gnome-feeds/default.nix deleted file mode 100644 index def8bfb515200..0000000000000 --- a/pkgs/applications/networking/feedreaders/gnome-feeds/default.nix +++ /dev/null @@ -1,89 +0,0 @@ -{ lib -, callPackage - -, fetchFromGitLab - -, appstream -, gobject-introspection -, meson -, ninja -, pkg-config -, wrapGAppsHook3 - -, glib -, glib-networking -, gtk3 -, libhandy -, listparser ? callPackage ./listparser.nix { } -, webkitgtk -, python3 -}: - -python3.pkgs.buildPythonApplication rec { - pname = "gnome-feeds"; - version = "0.16.2"; - - src = fetchFromGitLab { - domain = "gitlab.gnome.org"; - owner = "World"; - repo = "gfeeds"; - rev = version; - sha256 = "sha256-66dwVR9owg050aHCHJek7jYnT+/yyCKo4AaUE0hCqBA="; - }; - - format = "other"; - - nativeBuildInputs = [ - appstream - glib # for glib-compile-schemas - gobject-introspection - meson - ninja - pkg-config - wrapGAppsHook3 - ]; - - buildInputs = [ - glib - glib-networking - gtk3 - libhandy - webkitgtk - ]; - - propagatedBuildInputs = with python3.pkgs; [ - beautifulsoup4 - python-dateutil - feedparser - html5lib - listparser - lxml - pillow - pygments - pygobject3 - readability-lxml - pytz - requests - ]; - - dontWrapGApps = true; - - preFixup = '' - makeWrapperArgs+=("''${gappsWrapperArgs[@]}") - ''; - - passthru = { - inherit listparser; - }; - - meta = with lib; { - description = "RSS/Atom feed reader for GNOME"; - mainProgram = "gfeeds"; - homepage = "https://gitlab.gnome.org/World/gfeeds"; - license = licenses.gpl3Plus; - maintainers = [ - maintainers.pbogdan - ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/applications/networking/feedreaders/gnome-feeds/listparser.nix b/pkgs/applications/networking/feedreaders/gnome-feeds/listparser.nix deleted file mode 100644 index 7dd2f752598fa..0000000000000 --- a/pkgs/applications/networking/feedreaders/gnome-feeds/listparser.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib -, python3 -, fetchPypi -}: - -python3.pkgs.buildPythonPackage rec { - pname = "listparser"; - version = "0.18"; - - src = fetchPypi { - inherit pname version; - sha256 = "0hdqs1mmayw1r8yla43hgb4d9y3zqs5483vgf8j9ygczkd2wrq2b"; - }; - - propagatedBuildInputs = with python3.pkgs; [ - requests - six - ]; - - checkPhase = '' - ${python3.interpreter} lptest.py - ''; - - meta = with lib; { - description = "Parser for subscription lists"; - homepage = "https://github.com/kurtmckee/listparser"; - license = licenses.lgpl3Plus; - maintainers = [ - maintainers.pbogdan - ]; - platforms = platforms.linux; - }; -} -- cgit 1.4.1