3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/feedreaders/gnome-feeds/default.nix

90 lines
1.4 KiB
Nix
Raw Normal View History

2020-07-05 15:32:56 +01:00
{ lib
, callPackage
2020-07-05 15:32:56 +01:00
, fetchFromGitLab
, appstream
, gobject-introspection
, meson
, ninja
, pkg-config
, wrapGAppsHook
, glib
, gtk3
, libhandy
, listparser ? callPackage ./listparser.nix { }
, webkitgtk
, python3
}:
2020-07-05 15:32:56 +01:00
python3.pkgs.buildPythonApplication rec {
pname = "gnome-feeds";
2021-06-21 23:28:11 +01:00
version = "0.16.2";
2020-07-05 15:32:56 +01:00
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "gfeeds";
rev = version;
2021-06-21 23:28:11 +01:00
sha256 = "sha256-66dwVR9owg050aHCHJek7jYnT+/yyCKo4AaUE0hCqBA=";
2020-07-05 15:32:56 +01:00
};
format = "other";
nativeBuildInputs = [
appstream
glib # for glib-compile-schemas
gobject-introspection
meson
ninja
pkg-config
wrapGAppsHook
];
buildInputs = [
glib
gtk3
libhandy
webkitgtk
];
propagatedBuildInputs = with python3.pkgs; [
beautifulsoup4
python-dateutil
2020-07-05 15:32:56 +01:00
feedparser
html5lib
listparser
lxml
pillow
pygments
pygobject3
pyreadability
pytz
requests
];
# https://github.com/NixOS/nixpkgs/issues/56943
strictDeps = false;
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
passthru = {
inherit listparser;
};
meta = with lib; {
description = "An RSS/Atom feed reader for GNOME";
homepage = "https://gitlab.gnome.org/World/gfeeds";
license = licenses.gpl3Plus;
maintainers = [
maintainers.pbogdan
];
platforms = platforms.linux;
};
}