edbrowse: 3.5.2 -> 3.5.4.1

+17 -10
+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 - name = "edbrowse-3.5.2"; 4 - buildInputs = [ unzip curl pcre readline openssl spidermonkey_24 ]; 5 - preConfigure = '' 6 - export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${spidermonkey_24}/include/mozjs-24" 7 - ''; 8 - installPhase = "installBin src/edbrowse"; 3 + name = "edbrowse-${version}"; 4 + version = "3.5.4.1"; 5 + 6 + nativeBuildInputs = [ unzip ]; 7 + buildInputs = [ curl pcre readline openssl spidermonkey_24 ]; 8 + 9 + patchPhase = '' 10 + substituteInPlace src/ebjs.c --replace \"edbrowse-js\" \"$out/bin/edbrowse-js\" 11 + ''; 12 + 13 + NIX_CFLAGS_COMPILE = "-I${spidermonkey_24}/include/mozjs-24"; 14 + makeFlags = "-C src prefix=$(out)"; 15 + 9 16 src = fetchurl { 10 - url = "http://the-brannons.com/edbrowse/${name}.zip"; 11 - sha256 = "5f1ac927d126b8c8fd411231cffa9eba5405013e64994e55e1864b2f85d52714"; 17 + url = "http://edbrowse.org/${name}.zip"; 18 + sha256 = "0fpzaalwvgwbns7yxq4a4i6hpdljmcjfyvx19r1dlb3vdfw0vx5l"; 12 19 }; 13 20 meta = { 14 - description = "Edbrowse, a Command Line Editor Browser"; 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 - homepage = http://the-brannons.com/edbrowse/; 30 + homepage = http://edbrowse.org/; 24 31 maintainers = [ stdenv.lib.maintainers.schmitthenner ]; 25 32 }; 26 33 }