add Just Browsing
This commit is contained in:
parent
119f9f2427
commit
07ccbe1131
@ -3,7 +3,9 @@
|
||||
, fetchFromGitHub
|
||||
|
||||
, fennel
|
||||
, glib-networking
|
||||
, gobject-introspection
|
||||
, webkitgtk
|
||||
, gtk3
|
||||
, gtk-layer-shell
|
||||
, lua5_3
|
||||
@ -15,6 +17,7 @@ let
|
||||
inherit (lua.pkgs) lgi buildLuaPackage;
|
||||
inherit lua;
|
||||
};
|
||||
glib_networking_gio = "${glib-networking}/lib/gio/modules";
|
||||
inifile = lua.pkgs.buildLuaPackage rec {
|
||||
pname = "inifile";
|
||||
name = "${pname}-${version}";
|
||||
@ -43,16 +46,20 @@ let
|
||||
|
||||
]);
|
||||
kiwmi = callPackage ./kiwmi.nix { lua = lua5_3; };
|
||||
GIO_EXTRA_MODULES = "${glib-networking}/lib/gio/modules";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "eufon";
|
||||
version = "0.1";
|
||||
inherit GIO_EXTRA_MODULES;
|
||||
buildInputs = [
|
||||
luaWithPackages
|
||||
kiwmi
|
||||
glib-networking
|
||||
gobject-introspection.dev
|
||||
gtk-layer-shell
|
||||
gtk3
|
||||
webkitgtk
|
||||
];
|
||||
|
||||
src = ./.;
|
||||
|
@ -1,14 +1,13 @@
|
||||
(local lgi (require :lgi))
|
||||
(local inspect (require :inspect))
|
||||
|
||||
(local { : Gtk : Gdk : WebKit2 : cairo } lgi)
|
||||
|
||||
(if (os.getenv "JUST_HACKING")
|
||||
(local {: view} (require :fennel)))
|
||||
|
||||
(local Listeners (require :listeners))
|
||||
(local Webview (require :webview))
|
||||
(local Viewplex (require :viewplex))
|
||||
(local Listeners (require :just.listeners))
|
||||
(local Webview (require :just.webview))
|
||||
(local Viewplex (require :just.viewplex))
|
||||
|
||||
(local cache-dir (.. (os.getenv "HOME") "/.cache/just"))
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
(local { : Gtk : Gdk : WebKit2 : cairo } (require :lgi))
|
||||
(local Webview (require :webview))
|
||||
|
||||
(local Listeners (require :listeners))
|
||||
(local Webview (require :just.webview))
|
||||
(local Listeners (require :just.listeners))
|
||||
|
||||
(local thumbnail-width 300)
|
||||
(local thumbnail-height 200)
|
||||
|
@ -1,7 +1,7 @@
|
||||
(local { : Gtk : Gdk : WebKit2 : cairo : GLib : GObject } (require :lgi))
|
||||
(local posix (require :posix))
|
||||
|
||||
(local Listeners (require :listeners))
|
||||
(local Listeners (require :just.listeners))
|
||||
|
||||
;; this is a hack, should find out what XDG says
|
||||
(local downloads-directory (.. (os.getenv "HOME") "/" "Downloads"))
|
||||
|
Loading…
Reference in New Issue
Block a user