biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / networking / feedreaders / gnome-feeds / default.nix
blob902b6a7b35cb2698590c08f212a19555d7aad96d
1 { lib
2 , callPackage
4 , fetchFromGitLab
6 , appstream
7 , gobject-introspection
8 , meson
9 , ninja
10 , pkg-config
11 , wrapGAppsHook
13 , glib
14 , glib-networking
15 , gtk3
16 , libhandy
17 , listparser ? callPackage ./listparser.nix { }
18 , webkitgtk
19 , python3
22 python3.pkgs.buildPythonApplication rec {
23   pname = "gnome-feeds";
24   version = "0.16.2";
26   src = fetchFromGitLab {
27     domain = "gitlab.gnome.org";
28     owner = "World";
29     repo = "gfeeds";
30     rev = version;
31     sha256 = "sha256-66dwVR9owg050aHCHJek7jYnT+/yyCKo4AaUE0hCqBA=";
32   };
34   format = "other";
36   nativeBuildInputs = [
37     appstream
38     glib # for glib-compile-schemas
39     gobject-introspection
40     meson
41     ninja
42     pkg-config
43     wrapGAppsHook
44   ];
46   buildInputs = [
47     glib
48     glib-networking
49     gtk3
50     libhandy
51     webkitgtk
52   ];
54   propagatedBuildInputs = with python3.pkgs; [
55     beautifulsoup4
56     python-dateutil
57     feedparser
58     html5lib
59     listparser
60     lxml
61     pillow
62     pygments
63     pygobject3
64     readability-lxml
65     pytz
66     requests
67   ];
69   dontWrapGApps = true;
71   preFixup = ''
72     makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
73   '';
75   passthru = {
76     inherit listparser;
77   };
79   meta = with lib; {
80     description = "An RSS/Atom feed reader for GNOME";
81     mainProgram = "gfeeds";
82     homepage = "https://gitlab.gnome.org/World/gfeeds";
83     license = licenses.gpl3Plus;
84     maintainers = [
85       maintainers.pbogdan
86     ];
87     platforms = platforms.linux;
88   };