diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2017-03-18 19:18:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-18 19:18:35 +0100 |
commit | 87f7ef87febf49444081a4a6e5e813986ccb0296 (patch) | |
tree | 135f88cde9a720ee035786a4409a9046d47a6997 /pkgs/applications/networking | |
parent | 89f62be34539f169b3b4fa7c29136b3d0c85bfae (diff) | |
parent | 69ce1ed5262be7427e46759b24f00381b73ba1fc (diff) | |
download | nixlib-87f7ef87febf49444081a4a6e5e813986ccb0296.tar nixlib-87f7ef87febf49444081a4a6e5e813986ccb0296.tar.gz nixlib-87f7ef87febf49444081a4a6e5e813986ccb0296.tar.bz2 nixlib-87f7ef87febf49444081a4a6e5e813986ccb0296.tar.lz nixlib-87f7ef87febf49444081a4a6e5e813986ccb0296.tar.xz nixlib-87f7ef87febf49444081a4a6e5e813986ccb0296.tar.zst nixlib-87f7ef87febf49444081a4a6e5e813986ccb0296.zip |
Merge pull request #23722 from joachifm/surf-webkit2
surf-webkit2: init at 2017-03-06
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r-- | pkgs/applications/networking/browsers/surf/webkit2.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/surf/webkit2.nix b/pkgs/applications/networking/browsers/surf/webkit2.nix new file mode 100644 index 000000000000..4a7b3d44e797 --- /dev/null +++ b/pkgs/applications/networking/browsers/surf/webkit2.nix @@ -0,0 +1,42 @@ +{ stdenv, fetchzip +, pkgconfig, wrapGAppsHook +, glib, glib_networking, gsettings_desktop_schemas, gtk2, libsoup, webkitgtk +, patches ? null +}: + +let + # http://git.suckless.org/surf/log/?h=surf-webkit2 + rev = "37e43501d80710533f3ec0bd61ee84916c8524a4"; + sha256 = "1q388rzm4irpaam4z8xycbyh5dgkjlar5jn1iw7zfls1pbpzr5br"; + date = "2017-03-06"; +in + +stdenv.mkDerivation rec { + name = "surf-webkit2-${date}"; + + src = fetchzip { + url = "http://git.suckless.org/surf/snapshot/surf-${rev}.tar.gz"; + inherit sha256; + }; + + nativeBuildInputs = [ pkgconfig wrapGAppsHook ]; + buildInputs = [ glib glib_networking gsettings_desktop_schemas gtk2 libsoup webkitgtk ]; + + inherit patches; + + installFlags = [ "PREFIX=/" "DESTDIR=$(out)" ]; + + meta = with stdenv.lib; { + description = "A simple web browser based on WebKit/GTK+"; + longDescription = '' + Surf is a simple web browser based on WebKit/GTK+. It is able to display + websites and follow links. It supports the XEmbed protocol which makes it + possible to embed it in another application. Furthermore, one can point + surf to another URI by setting its XProperties. + ''; + homepage = http://surf.suckless.org; + license = licenses.mit; + platforms = platforms.all; + maintainers = with maintainers; [ joachifm ]; + }; +} |