git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #23722 from joachifm/surf-webkit2

surf-webkit2: init at 2017-03-06

commit87f7ef87febf49444081a4a6e5e813986ccb0296 authorMichael Raskin <7c6f434c@mail.ru> dateSat 18 Mar 2017, 19:18 (10 years ago) parent89f62be69ce1ed
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
@@ -15515,6 +15515,8 @@ with pkgs;
1551515515 webkit = webkitgtk2;
1551615516 };
1551715517
15518+ surf-webkit2 = callPackage ../applications/networking/browsers/surf/webkit2.nix { };
15519+
1551815520 swh_lv2 = callPackage ../applications/audio/swh-lv2 { };
1551915521
1552015522 sylpheed = callPackage ../applications/networking/mailreaders/sylpheed { };