summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/next/next-gtk-webkit.nix
blob: 8039c5492408a25324a8a290ccdf38e783172f80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# https://github.com/atlas-engineer/next/tree/master/ports/gtk-webkit

{ stdenv
, pkg-config
, next
, webkitgtk
, gtk3
, glib
, gsettings-desktop-schemas
, glib-networking
, gst_all_1
, wrapGAppsHook
}:

stdenv.mkDerivation rec {
  pname = "next-gtk-webkit";
  inherit (next) src version;

  nativeBuildInputs = [
    pkg-config
    wrapGAppsHook
  ];

  buildInputs = [
    glib
    glib-networking
    gsettings-desktop-schemas
    gtk3
    webkitgtk
    gst_all_1.gst-plugins-base
    gst_all_1.gstreamer
  ];

  makeFlags = [
    "gtk-webkit"
    "PREFIX=${placeholder "out"}"
  ];

  installTargets =  [
    "install-gtk-webkit"
  ];

  meta = with stdenv.lib; {
    description = "Infinitely extensible web-browser (user interface only)";
    homepage = "https://next.atlas.engineer";
    license = licenses.bsd3;
    maintainers = [ maintainers.lewo ];
    platforms = [ "x86_64-linux" ];
  };
}