2014-10-22 17:56:01 +02:00
|
|
|
{ stdenv, fetchgit, unzip, firefox, makeWrapper }:
|
2011-10-07 11:26:03 +02:00
|
|
|
|
2016-04-05 14:34:42 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pkgname = "conkeror";
|
|
|
|
version = "1.0pre-20160130";
|
|
|
|
name = "${pkgname}-${version}";
|
|
|
|
|
2013-08-18 15:49:52 +02:00
|
|
|
src = fetchgit {
|
|
|
|
url = git://repo.or.cz/conkeror.git;
|
2016-04-05 14:34:42 +02:00
|
|
|
rev = "3e4732cd0d15aa70121fe0a0403103b777c964bf";
|
2016-06-02 13:26:44 +02:00
|
|
|
sha256 = "1299b1kdfd2vip3w02jzvj2i8scjpsvpx19d2c8ms2pizz7xxmp4";
|
2010-04-24 19:34:58 +02:00
|
|
|
};
|
2013-08-18 15:49:52 +02:00
|
|
|
|
2011-10-07 11:26:03 +02:00
|
|
|
buildInputs = [ unzip makeWrapper ];
|
2013-08-18 15:49:52 +02:00
|
|
|
|
2013-04-03 20:47:42 +02:00
|
|
|
installPhase = ''
|
2011-10-07 11:26:03 +02:00
|
|
|
mkdir -p $out/libexec/conkeror
|
2013-04-03 20:47:42 +02:00
|
|
|
cp -r * $out/libexec/conkeror
|
2011-10-07 11:26:03 +02:00
|
|
|
|
2014-10-22 17:56:01 +02:00
|
|
|
makeWrapper ${firefox}/bin/firefox $out/bin/conkeror \
|
|
|
|
--add-flags "-app $out/libexec/conkeror/application.ini"
|
2010-04-24 19:34:58 +02:00
|
|
|
'';
|
2011-10-07 11:26:03 +02:00
|
|
|
|
2015-05-27 21:56:04 +02:00
|
|
|
meta = with stdenv.lib; {
|
2010-04-24 19:34:58 +02:00
|
|
|
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/;
|
2015-05-27 21:56:04 +02:00
|
|
|
license = with licenses; [ mpl11 gpl2 lgpl21 ];
|
|
|
|
maintainers = with maintainers; [ astsmtl chaoflow ];
|
2015-11-17 21:29:29 +01:00
|
|
|
platforms = platforms.linux;
|
2010-04-24 19:34:58 +02:00
|
|
|
};
|
|
|
|
}
|