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