2018-09-12 07:25:31 +01:00
|
|
|
{ stdenv, fetchgit, meson, ninja, pkgconfig
|
|
|
|
, python3, gtk3, libsecret, gst_all_1, webkitgtk
|
|
|
|
, glib-networking, gtkspell3, hunspell, desktop-file-utils
|
2018-12-02 11:41:15 +00:00
|
|
|
, gobject-introspection, wrapGAppsHook }:
|
2017-12-26 03:55:28 +00:00
|
|
|
|
2018-09-12 07:25:31 +01:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2018-12-12 08:12:22 +00:00
|
|
|
pname = "eolie";
|
2018-10-19 23:12:54 +01:00
|
|
|
version = "0.9.45";
|
2018-09-12 07:25:31 +01:00
|
|
|
|
|
|
|
format = "other";
|
|
|
|
doCheck = false;
|
2017-12-26 03:55:28 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
2018-06-30 14:23:37 +01:00
|
|
|
url = "https://gitlab.gnome.org/World/eolie";
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
fetchSubmodules = true;
|
2018-10-19 23:12:54 +01:00
|
|
|
sha256 = "0x6f2qqqxpjf28mqxs4jlrz2z8wa9nvb9h24nf8qwmzavjjbraqg";
|
2017-12-26 03:55:28 +00:00
|
|
|
};
|
|
|
|
|
2018-09-12 07:25:31 +01:00
|
|
|
nativeBuildInputs = [
|
2018-06-30 14:23:37 +01:00
|
|
|
desktop-file-utils
|
2018-12-02 11:41:15 +00:00
|
|
|
gobject-introspection
|
2017-12-26 03:55:28 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
2018-09-12 07:25:31 +01:00
|
|
|
buildInputs = with gst_all_1; [
|
|
|
|
glib-networking
|
|
|
|
gst-libav
|
|
|
|
gst-plugins-base
|
|
|
|
gst-plugins-ugly
|
|
|
|
gstreamer
|
|
|
|
gtk3
|
|
|
|
gtkspell3
|
|
|
|
hunspell
|
|
|
|
libsecret
|
|
|
|
webkitgtk
|
|
|
|
];
|
2018-06-30 14:23:37 +01:00
|
|
|
|
2018-12-12 08:12:22 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2018-06-30 14:23:37 +01:00
|
|
|
beautifulsoup4
|
|
|
|
pycairo
|
|
|
|
pygobject3
|
|
|
|
python-dateutil
|
2017-12-26 03:55:28 +00:00
|
|
|
];
|
|
|
|
|
2018-03-21 21:58:31 +00:00
|
|
|
postPatch = ''
|
2018-09-12 07:25:31 +01:00
|
|
|
chmod +x meson_post_install.py
|
2018-03-21 21:58:31 +00:00
|
|
|
patchShebangs meson_post_install.py
|
2017-12-26 03:55:28 +00:00
|
|
|
'';
|
|
|
|
|
2018-12-12 08:28:59 +00:00
|
|
|
preFixup = ''
|
|
|
|
buildPythonPath "$out $propagatedBuildInputs"
|
|
|
|
patchPythonScript "$out/libexec/eolie-sp"
|
|
|
|
'';
|
|
|
|
|
2017-12-26 03:55:28 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A new GNOME web browser";
|
2018-12-12 08:12:22 +00:00
|
|
|
homepage = https://wiki.gnome.org/Apps/Eolie;
|
|
|
|
license = licenses.gpl3Plus;
|
2018-06-30 14:23:37 +01:00
|
|
|
maintainers = with maintainers; [ samdroid-apps worldofpeace ];
|
2018-12-12 08:12:22 +00:00
|
|
|
platforms = platforms.linux;
|
2017-12-26 03:55:28 +00:00
|
|
|
};
|
|
|
|
}
|