lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

surf: 0.7 -> 2.0

This renders surf-webkit2 obsolete; it is now aliased to surf.

+17 -68
+15 -21
pkgs/applications/networking/browsers/surf/default.nix
··· 1 - {stdenv, fetchurl, makeWrapper, gtk2, webkit, pkgconfig, glib, glib_networking, libsoup, gsettings_desktop_schemas, patches ? null}: 1 + { stdenv, fetchurl 2 + , pkgconfig, wrapGAppsHook 3 + , glib, glib_networking, gsettings_desktop_schemas, gtk, libsoup, webkitgtk 4 + , patches ? null 5 + }: 2 6 3 7 stdenv.mkDerivation rec { 4 8 name = "surf-${version}"; 5 - version="0.7"; 9 + version = "2.0"; 6 10 7 11 src = fetchurl { 8 12 url = "http://dl.suckless.org/surf/surf-${version}.tar.gz"; 9 - sha256 = "0jj93izd8fizxfa6ln9w1h9bwki81sz5dhskh5x1rl34zd38aq4m"; 13 + sha256 = "07cmajyafljigy10d21kkyvv5jf3hxkx06pz3rwwk3y3c9x4rvps"; 10 14 }; 11 15 12 - buildInputs = [ gtk2 makeWrapper webkit gsettings_desktop_schemas pkgconfig glib libsoup ]; 16 + nativeBuildInputs = [ pkgconfig wrapGAppsHook ]; 17 + buildInputs = [ glib glib_networking gsettings_desktop_schemas gtk libsoup webkitgtk ]; 13 18 14 - # Allow users set their own list of patches 15 19 inherit patches; 16 20 17 - buildPhase = " make "; 18 - 19 - # `-lX11' to make sure libX11's store path is in the RPATH 20 - NIX_LDFLAGS = "-lX11"; 21 - preConfigure = ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk''; 22 21 installFlags = [ "PREFIX=/" "DESTDIR=$(out)" ]; 23 22 24 - preFixup = '' 25 - wrapProgram "$out/bin/surf" \ 26 - --prefix GIO_EXTRA_MODULES : ${glib_networking.out}/lib/gio/modules \ 27 - --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" 28 - ''; 29 - 30 - meta = { 31 - description = "Simple web browser"; 23 + meta = with stdenv.lib; { 24 + description = "A simple web browser based on WebKit/GTK+"; 32 25 longDescription = '' 33 26 Surf is a simple web browser based on WebKit/GTK+. It is able to display 34 27 websites and follow links. It supports the XEmbed protocol which makes it 35 28 possible to embed it in another application. Furthermore, one can point 36 29 surf to another URI by setting its XProperties. 37 - ''; 30 + ''; 38 31 homepage = http://surf.suckless.org; 39 - license = stdenv.lib.licenses.mit; 40 - platforms = stdenv.lib.platforms.linux; 32 + license = licenses.mit; 33 + platforms = webkitgtk.meta.platforms; 34 + maintainers = with maintainers; [ joachifm ]; 41 35 }; 42 36 }
-42
pkgs/applications/networking/browsers/surf/webkit2.nix
··· 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 = "7e02344a615a61246ccce1c7f770e88fbd57756e"; 10 - sha256 = "11f93fbjhl7nfgwkcc45lcm3x1wk5h87ap8fbw9w855021i57pp6"; 11 - date = "2017-03-22"; 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 - }
+1
pkgs/top-level/aliases.nix
··· 121 121 speedtest_cli = speedtest-cli; # added 2015-02-17 122 122 sqliteInteractive = sqlite-interactive; # added 2014-12-06 123 123 sshfsFuse = sshfs-fuse; # added 2016-09 124 + surf-webkit2 = surf; # added 2017-04-02 124 125 system_config_printer = system-config-printer; # added 2016-01-03 125 126 telepathy_qt5 = libsForQt5.telepathy; # added 2015-12-19 126 127 tftp_hpa = tftp-hpa; # added 2015-04-03
+1 -5
pkgs/top-level/all-packages.nix
··· 15561 15561 15562 15562 subunit = callPackage ../development/libraries/subunit { }; 15563 15563 15564 - surf = callPackage ../applications/networking/browsers/surf { 15565 - webkit = webkitgtk2; 15566 - }; 15567 - 15568 - surf-webkit2 = callPackage ../applications/networking/browsers/surf/webkit2.nix { }; 15564 + surf = callPackage ../applications/networking/browsers/surf { gtk = gtk2; }; 15569 15565 15570 15566 swh_lv2 = callPackage ../applications/audio/swh-lv2 { }; 15571 15567