nixpkgs/pkgs/applications/networking/browsers/eolie/default.nix

83 lines
1.8 KiB
Nix
Raw Normal View History

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