Merge pull request #23722 from joachifm/surf-webkit2

surf-webkit2: init at 2017-03-06
This commit is contained in:
Michael Raskin 2017-03-18 19:18:35 +01:00 committed by GitHub
commit 87f7ef87fe
2 changed files with 44 additions and 0 deletions

@ -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 ];
};
}

@ -15515,6 +15515,8 @@ with pkgs;
webkit = webkitgtk2; webkit = webkitgtk2;
}; };
surf-webkit2 = callPackage ../applications/networking/browsers/surf/webkit2.nix { };
swh_lv2 = callPackage ../applications/audio/swh-lv2 { }; swh_lv2 = callPackage ../applications/audio/swh-lv2 { };
sylpheed = callPackage ../applications/networking/mailreaders/sylpheed { }; sylpheed = callPackage ../applications/networking/mailreaders/sylpheed { };