2011-10-07 11:26:03 +02:00
|
|
|
{ stdenv, fetchurl, unzip, xulrunner, makeWrapper }:
|
|
|
|
|
2010-04-24 19:34:58 +02:00
|
|
|
stdenv.mkDerivation {
|
2011-09-17 22:05:03 +02:00
|
|
|
name = "conkeror-1.0pre-20110917";
|
2011-10-07 11:26:03 +02:00
|
|
|
|
2010-04-24 19:34:58 +02:00
|
|
|
src = fetchurl {
|
2011-09-17 22:05:03 +02:00
|
|
|
url = http://repo.or.cz/w/conkeror.git/snapshot/9d1f522674379874e502545babe0c843f78fa43c.zip;
|
|
|
|
sha256 = "1ga3d9rc3xfaxvjnhnar752q9ga897q9fck0864i7rh0w7xbrhx2";
|
2010-04-24 19:34:58 +02:00
|
|
|
};
|
2011-10-07 11:26:03 +02:00
|
|
|
|
|
|
|
buildInputs = [ unzip makeWrapper ];
|
|
|
|
|
|
|
|
buildCommand = ''
|
|
|
|
mkdir -p $out/libexec/conkeror
|
|
|
|
unzip $src -d $out/libexec
|
|
|
|
|
|
|
|
makeWrapper ${xulrunner}/bin/xulrunner $out/bin/conkeror \
|
|
|
|
--add-flags $out/libexec/conkeror/application.ini
|
2010-04-24 19:34:58 +02:00
|
|
|
'';
|
2011-10-07 11:26:03 +02:00
|
|
|
|
2010-04-24 19:34:58 +02:00
|
|
|
meta = {
|
|
|
|
description = "A keyboard-oriented, customizable, extensible web browser";
|
|
|
|
longDescription = ''
|
|
|
|
Conkeror is a keyboard-oriented, highly-customizable, highly-extensible
|
|
|
|
web browser based on Mozilla XULRunner, written mainly in JavaScript,
|
|
|
|
and inspired by exceptional software such as Emacs and vi. Conkeror
|
|
|
|
features a sophisticated keyboard system, allowing users to run commands
|
|
|
|
and interact with content in powerful and novel ways. It is
|
|
|
|
self-documenting, featuring a powerful interactive help system.
|
|
|
|
'';
|
|
|
|
homepage = http://conkeror.org/;
|
|
|
|
license = [ "MPLv1.1" "GPLv2" "LGPLv2.1" ];
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|