ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / gn / gnome-feeds / package.nix
blobe502a17bdbed1f4fa0500cdc1fc798c6326f0987
2   lib,
3   python3,
5   fetchFromGitLab,
6   fetchpatch,
8   appstream,
9   gobject-introspection,
10   meson,
11   ninja,
12   pkg-config,
13   blueprint-compiler,
14   wrapGAppsHook4,
16   glib-networking,
17   libadwaita,
18   webkitgtk_6_0,
21 python3.pkgs.buildPythonApplication rec {
22   pname = "gnome-feeds";
23   version = "2.2.0";
24   pyproject = false;
26   src = fetchFromGitLab {
27     domain = "gitlab.gnome.org";
28     owner = "World";
29     repo = "gfeeds";
30     rev = version;
31     hash = "sha256-XKwRFjz4ocH01mj8KshLGmGxbm/uvDiyYRf65KL0UFw=";
32   };
34   patches = [
35     # both patches needed to built with newer blueprint-compiler
36     (fetchpatch {
37       name = "fix-for-blueprint-0.8.patch";
38       url = "https://gitlab.gnome.org/World/gfeeds/-/commit/cfe860f44f685be302e2ad9f30b55bab08e078ce.patch";
39       hash = "sha256-exkq9KykB60/X8u3+T1/sShrhGP8BvNkaBWPzm2mchc=";
40     })
41     (fetchpatch {
42       name = "upgrade-blueprint-0.8-syntax.patch";
43       url = "https://gitlab.gnome.org/World/gfeeds/-/commit/d099fda0c62e338080061683a154f711cc487b30.patch";
44       hash = "sha256-M6QLRTj+CItk3XPDeexf3/+B1YHJoHsTjwdE6iw1xjM=";
45     })
46   ];
48   nativeBuildInputs = [
49     appstream
50     gobject-introspection
51     meson
52     ninja
53     pkg-config
54     blueprint-compiler
55     wrapGAppsHook4
56   ];
58   buildInputs = [
59     glib-networking
60     libadwaita
61     webkitgtk_6_0
62   ];
64   dependencies = with python3.pkgs; [
65     beautifulsoup4
66     humanize
67     python-dateutil
68     syndication-domination
69     python-magic
70     pillow
71     pygments
72     pygobject3
73     readability-lxml
74     pytz
75     requests
76   ];
78   dontWrapGApps = true;
80   preFixup = ''
81     makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
82   '';
84   meta = {
85     description = "RSS/Atom feed reader for GNOME";
86     mainProgram = "gfeeds";
87     homepage = "https://gitlab.gnome.org/World/gfeeds";
88     license = lib.licenses.gpl3Plus;
89     maintainers = with lib.maintainers; [
90       pbogdan
91       aleksana
92     ];
93     platforms = lib.platforms.linux;
94   };