tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
edbrowse: 3.5.2 -> 3.5.4.1
Gabriel Ebner
10 years ago
8a137ead
807a0e46
+17
-10
1 changed file
expand all
collapse all
unified
split
pkgs
applications
editors
edbrowse
default.nix
+17
-10
pkgs/applications/editors/edbrowse/default.nix
···
1
1
{ stdenv, fetchurl, spidermonkey_24, unzip, curl, pcre, readline, openssl }:
2
2
stdenv.mkDerivation rec {
3
3
-
name = "edbrowse-3.5.2";
4
4
-
buildInputs = [ unzip curl pcre readline openssl spidermonkey_24 ];
5
5
-
preConfigure = ''
6
6
-
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${spidermonkey_24}/include/mozjs-24"
7
7
-
'';
8
8
-
installPhase = "installBin src/edbrowse";
3
3
+
name = "edbrowse-${version}";
4
4
+
version = "3.5.4.1";
5
5
+
6
6
+
nativeBuildInputs = [ unzip ];
7
7
+
buildInputs = [ curl pcre readline openssl spidermonkey_24 ];
8
8
+
9
9
+
patchPhase = ''
10
10
+
substituteInPlace src/ebjs.c --replace \"edbrowse-js\" \"$out/bin/edbrowse-js\"
11
11
+
'';
12
12
+
13
13
+
NIX_CFLAGS_COMPILE = "-I${spidermonkey_24}/include/mozjs-24";
14
14
+
makeFlags = "-C src prefix=$(out)";
15
15
+
9
16
src = fetchurl {
10
10
-
url = "http://the-brannons.com/edbrowse/${name}.zip";
11
11
-
sha256 = "5f1ac927d126b8c8fd411231cffa9eba5405013e64994e55e1864b2f85d52714";
17
17
+
url = "http://edbrowse.org/${name}.zip";
18
18
+
sha256 = "0fpzaalwvgwbns7yxq4a4i6hpdljmcjfyvx19r1dlb3vdfw0vx5l";
12
19
};
13
20
meta = {
14
14
-
description = "Edbrowse, a Command Line Editor Browser";
21
21
+
description = "Command Line Editor Browser";
15
22
longDescription = ''
16
23
Edbrowse is a combination editor, browser, and mail client that is 100% text based.
17
24
The interface is similar to /bin/ed, though there are many more features, such as editing multiple files simultaneously, and rendering html.
···
20
27
edbrowse can also tap into databases through odbc. It was primarily written by Karl Dahlke.
21
28
'';
22
29
license = stdenv.lib.licenses.gpl1Plus;
23
23
-
homepage = http://the-brannons.com/edbrowse/;
30
30
+
homepage = http://edbrowse.org/;
24
31
maintainers = [ stdenv.lib.maintainers.schmitthenner ];
25
32
};
26
33
}