ocamlnet: 3.7.7 -> 4.1.1 (#16008)
This commit is contained in:
parent
d220132f22
commit
0a4e806f8f
@ -1,20 +1,19 @@
|
|||||||
{stdenv, fetchurl, ncurses, ocaml, findlib, ocaml_pcre, camlzip, openssl, ocaml_ssl, cryptokit }:
|
{ stdenv, fetchurl, pkgconfig, ncurses, ocaml, findlib, ocaml_pcre, camlzip
|
||||||
|
, gnutls, nettle }:
|
||||||
|
|
||||||
let
|
let
|
||||||
ocaml_version = (builtins.parseDrvName ocaml.name).version;
|
ocaml_version = (builtins.parseDrvName ocaml.name).version;
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ocamlnet-3.7.7";
|
name = "ocamlnet-4.1.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://download.camlcity.org/download/ocamlnet-3.7.7.tar.gz;
|
url = http://download.camlcity.org/download/ocamlnet-4.1.1.tar.gz;
|
||||||
sha256 = "02bnks9jshpq9nqva5lky5hl009yp19cgvf1izjca620hx54d3jv";
|
sha256 = "1z0j542dfzfimsn4asw1ycb4ww561pv92cz6s6kxazvgx60c5rb1";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ncurses ocaml findlib ocaml_pcre camlzip openssl ocaml_ssl cryptokit];
|
buildInputs = [ ncurses ocaml findlib ocaml_pcre camlzip gnutls pkgconfig nettle ];
|
||||||
|
|
||||||
propagatedbuildInputs = [ncurses ocaml_pcre camlzip openssl ocaml_ssl cryptokit];
|
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
@ -23,10 +22,9 @@ stdenv.mkDerivation {
|
|||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
configureFlagsArray=(
|
configureFlagsArray=(
|
||||||
-bindir $out/bin
|
-bindir $out/bin
|
||||||
-enable-ssl
|
-enable-gnutls
|
||||||
-enable-zip
|
-enable-zip
|
||||||
-enable-pcre
|
-enable-pcre
|
||||||
-enable-crypto
|
|
||||||
-disable-gtk2
|
-disable-gtk2
|
||||||
-with-nethttpd
|
-with-nethttpd
|
||||||
-datadir $out/lib/ocaml/${ocaml_version}/ocamlnet
|
-datadir $out/lib/ocaml/${ocaml_version}/ocamlnet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user