2013-03-14 16:01:53 +01:00
|
|
|
{ stdenv, fetchurl, makeWrapper, glib, glib_networking, gtk, libsoup, libX11, perl,
|
|
|
|
pkgconfig, webkit, gsettings_desktop_schemas }:
|
2012-01-04 23:12:43 +01:00
|
|
|
|
2013-03-14 16:01:53 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.2.1";
|
|
|
|
name = "vimprobable2-${version}";
|
2012-01-04 23:12:43 +01:00
|
|
|
src = fetchurl {
|
2013-03-14 16:01:53 +01:00
|
|
|
url = "mirror://sourceforge/vimprobable/vimprobable2_${version}.tar.bz2";
|
|
|
|
sha256 = "19zx1k3s2gnhzzd2wpyqsk151w9p52ifl64xaz9a6qkgvrxlli8p";
|
2012-01-04 23:12:43 +01:00
|
|
|
};
|
2013-02-25 20:56:11 +01:00
|
|
|
|
|
|
|
# Nixos default ca bundle
|
|
|
|
patchPhase = ''
|
2014-02-12 19:24:35 +01:00
|
|
|
sed -i s,/etc/ssl/certs/ca-certificates.crt,/etc/ssl/certs/ca-bundle.crt, config.h
|
2013-02-25 20:56:11 +01:00
|
|
|
'';
|
|
|
|
|
2012-04-04 23:30:49 +02:00
|
|
|
buildInputs = [ makeWrapper gtk libsoup libX11 perl pkgconfig webkit ];
|
2013-02-25 20:56:11 +01:00
|
|
|
|
2012-01-04 23:12:43 +01:00
|
|
|
installPhase = ''
|
|
|
|
make PREFIX=/ DESTDIR=$out install
|
2013-03-14 16:01:53 +01:00
|
|
|
wrapProgram "$out/bin/vimprobable2" \
|
|
|
|
--prefix GIO_EXTRA_MODULES : "${glib_networking}/lib/gio/modules" \
|
|
|
|
--prefix XDG_DATA_DIRS : "${gsettings_desktop_schemas}/share"
|
2012-01-04 23:12:43 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''
|
|
|
|
Vimprobable is a web browser that behaves like the Vimperator plugin
|
|
|
|
available for Mozilla Firefox
|
|
|
|
'';
|
|
|
|
longDescription = ''
|
|
|
|
Vimprobable is a web browser that behaves like the Vimperator plugin
|
|
|
|
available for Mozilla Firefox. It is based on the WebKit engine (using
|
|
|
|
GTK bindings). The goal of Vimprobable is to build a completely
|
|
|
|
keyboard-driven, efficient and pleasurable browsing-experience. Its
|
|
|
|
featureset might be considered "minimalistic", but not as minimalistic as
|
|
|
|
being completely featureless.
|
|
|
|
'';
|
|
|
|
homepage = "http://sourceforge.net/apps/trac/vimprobable";
|
2012-04-04 23:30:49 +02:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.aforemny ];
|
2012-03-25 13:39:43 +02:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2012-01-04 23:12:43 +01:00
|
|
|
};
|
|
|
|
}
|