2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchgit, meson, ninja, pkg-config, nix-update-script
|
2020-08-16 08:15:11 +02:00
|
|
|
, python3, gtk3, libsecret, gst_all_1, webkitgtk, glib
|
2018-09-12 08:25:31 +02:00
|
|
|
, glib-networking, gtkspell3, hunspell, desktop-file-utils
|
2021-05-07 23:18:14 +02:00
|
|
|
, gobject-introspection, wrapGAppsHook, gnome }:
|
2017-12-26 04:55:28 +01:00
|
|
|
|
2018-09-12 08:25:31 +02:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2018-12-12 09:12:22 +01:00
|
|
|
pname = "eolie";
|
2020-08-16 08:15:11 +02:00
|
|
|
version = "0.9.99";
|
2018-09-12 08:25:31 +02:00
|
|
|
|
|
|
|
format = "other";
|
|
|
|
doCheck = false;
|
2017-12-26 04:55:28 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
2018-06-30 15:23:37 +02:00
|
|
|
url = "https://gitlab.gnome.org/World/eolie";
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
fetchSubmodules = true;
|
2020-08-16 08:15:11 +02:00
|
|
|
sha256 = "077jww5mqg6bbqbj0j1gss2j3dxlfr2xw8bc43k8vg52drqg6g8w";
|
2017-12-26 04:55:28 +01:00
|
|
|
};
|
|
|
|
|
2018-09-12 08:25:31 +02:00
|
|
|
nativeBuildInputs = [
|
2018-06-30 15:23:37 +02:00
|
|
|
desktop-file-utils
|
2018-12-02 12:41:15 +01:00
|
|
|
gobject-introspection
|
2017-12-26 04:55:28 +01:00
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 07:50:56 +01:00
|
|
|
pkg-config
|
2017-12-26 04:55:28 +01:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
2018-09-12 08:25:31 +02:00
|
|
|
buildInputs = with gst_all_1; [
|
|
|
|
glib-networking
|
2019-02-15 10:08:27 +01:00
|
|
|
gobject-introspection
|
2018-09-12 08:25:31 +02:00
|
|
|
gst-libav
|
|
|
|
gst-plugins-base
|
|
|
|
gst-plugins-ugly
|
|
|
|
gstreamer
|
2021-05-07 23:18:14 +02:00
|
|
|
gnome.gnome-settings-daemon
|
2018-09-12 08:25:31 +02:00
|
|
|
gtk3
|
|
|
|
gtkspell3
|
|
|
|
hunspell
|
|
|
|
libsecret
|
2021-12-19 19:40:33 +01:00
|
|
|
webkitgtk
|
2020-08-16 08:15:11 +02:00
|
|
|
glib
|
2018-09-12 08:25:31 +02:00
|
|
|
];
|
2018-06-30 15:23:37 +02:00
|
|
|
|
2018-12-12 09:12:22 +01:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2020-08-16 08:15:11 +02:00
|
|
|
pyfxa
|
2018-06-30 15:23:37 +02:00
|
|
|
beautifulsoup4
|
2020-08-16 08:15:11 +02:00
|
|
|
cryptography
|
2018-06-30 15:23:37 +02:00
|
|
|
pycairo
|
|
|
|
pygobject3
|
|
|
|
python-dateutil
|
2020-08-16 08:15:11 +02:00
|
|
|
pycrypto
|
2017-12-26 04:55:28 +01:00
|
|
|
];
|
|
|
|
|
2018-03-21 22:58:31 +01:00
|
|
|
postPatch = ''
|
2018-09-12 08:25:31 +02:00
|
|
|
chmod +x meson_post_install.py
|
2018-03-21 22:58:31 +01:00
|
|
|
patchShebangs meson_post_install.py
|
2017-12-26 04:55:28 +01:00
|
|
|
'';
|
|
|
|
|
2020-08-16 08:15:11 +02:00
|
|
|
dontWrapGApps = true;
|
2018-12-12 09:28:59 +01:00
|
|
|
preFixup = ''
|
|
|
|
buildPythonPath "$out $propagatedBuildInputs"
|
|
|
|
patchPythonScript "$out/libexec/eolie-sp"
|
2020-08-16 08:15:11 +02:00
|
|
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
2018-12-12 09:28:59 +01:00
|
|
|
'';
|
|
|
|
|
2020-07-29 18:33:39 +02:00
|
|
|
passthru = {
|
2022-12-25 23:11:14 +01:00
|
|
|
updateScript = nix-update-script { };
|
2020-07-29 18:33:39 +02:00
|
|
|
};
|
|
|
|
|
2020-08-16 08:15:11 +02:00
|
|
|
strictDeps = false;
|
2020-07-29 18:33:39 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-12-26 04:55:28 +01:00
|
|
|
description = "A new GNOME web browser";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Eolie";
|
2018-12-12 09:12:22 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2021-05-05 11:25:45 +02:00
|
|
|
maintainers = with maintainers; [ samdroid-apps ];
|
2018-12-12 09:12:22 +01:00
|
|
|
platforms = platforms.linux;
|
2017-12-26 04:55:28 +01:00
|
|
|
};
|
|
|
|
}
|