git.iko.soy/typeable/nixpkgs
on master help sign in
surf-webkit2: init at 2017-03-06
commit69ce1ed5262be7427e46759b24f00381b73ba1fc authorJoachim Fasting <joachifm@fastmail.fm> dateThu 9 Mar 2017, 14:28 (10 years ago) parent7dff6a8
2 files changed+44
pkgs/applications/networking/browsers/surf/webkit2.nix+42 pkgs/top-level/all-packages.nix+2
pkgs/applications/networking/browsers/surf/webkit2.nixnew file+42
@@ -0,0 +1,42 @@
1+{ stdenv, fetchzip
2+, pkgconfig, wrapGAppsHook
3+, glib, glib_networking, gsettings_desktop_schemas, gtk2, libsoup, webkitgtk
4+, patches ? null
5+}:
6+
7+let
8+ # http://git.suckless.org/surf/log/?h=surf-webkit2
9+ rev = "37e43501d80710533f3ec0bd61ee84916c8524a4";
10+ sha256 = "1q388rzm4irpaam4z8xycbyh5dgkjlar5jn1iw7zfls1pbpzr5br";
11+ date = "2017-03-06";
12+in
13+
14+stdenv.mkDerivation rec {
15+ name = "surf-webkit2-${date}";
16+
17+ src = fetchzip {
18+ url = "http://git.suckless.org/surf/snapshot/surf-${rev}.tar.gz";
19+ inherit sha256;
20+ };
21+
22+ nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
23+ buildInputs = [ glib glib_networking gsettings_desktop_schemas gtk2 libsoup webkitgtk ];
24+
25+ inherit patches;
26+
27+ installFlags = [ "PREFIX=/" "DESTDIR=$(out)" ];
28+
29+ meta = with stdenv.lib; {
30+ description = "A simple web browser based on WebKit/GTK+";
31+ longDescription = ''
32+ Surf is a simple web browser based on WebKit/GTK+. It is able to display
33+ websites and follow links. It supports the XEmbed protocol which makes it
34+ possible to embed it in another application. Furthermore, one can point
35+ surf to another URI by setting its XProperties.
36+ '';
37+ homepage = http://surf.suckless.org;
38+ license = licenses.mit;
39+ platforms = platforms.all;
40+ maintainers = with maintainers; [ joachifm ];
41+ };
42+}
pkgs/top-level/all-packages.nix+2
@@ -15425,6 +15425,8 @@ with pkgs;
1542515425 webkit = webkitgtk2;
1542615426 };
1542715427
15428+ surf-webkit2 = callPackage ../applications/networking/browsers/surf/webkit2.nix { };
15429+
1542815430 swh_lv2 = callPackage ../applications/audio/swh-lv2 { };
1542915431
1543015432 sylpheed = callPackage ../applications/networking/mailreaders/sylpheed { };