git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlnet: 3.7.7 -> 4.1.1 (#16008)
commit0a4e806f8f6532098284238e15dfb9801309c70c authorvbgl <vbgl@users.noreply.github.com> dateWed 8 Jun 2016, 17:40 (10 years ago) parentd220132
1 file changed+7−9
pkgs/development/ocaml-modules/ocamlnet/default.nix+7−9
pkgs/development/ocaml-modules/ocamlnet/default.nix+7−9
@@ -1,20 +1,19 @@
1−{stdenv, fetchurl, ncurses, ocaml, findlib, ocaml_pcre, camlzip, openssl, ocaml_ssl, cryptokit }:
1+{ stdenv, fetchurl, pkgconfig, ncurses, ocaml, findlib, ocaml_pcre, camlzip
2+, gnutls, nettle }:
23
34let
45 ocaml_version = (builtins.parseDrvName ocaml.name).version;
56in
67
78stdenv.mkDerivation {
8− name = "ocamlnet-3.7.7";
9+ name = "ocamlnet-4.1.1";
910
1011 src = fetchurl {
11− url = http://download.camlcity.org/download/ocamlnet-3.7.7.tar.gz;
12− sha256 = "02bnks9jshpq9nqva5lky5hl009yp19cgvf1izjca620hx54d3jv";
12+ url = http://download.camlcity.org/download/ocamlnet-4.1.1.tar.gz;
13+ sha256 = "1z0j542dfzfimsn4asw1ycb4ww561pv92cz6s6kxazvgx60c5rb1";
1314 };
1415
15− buildInputs = [ncurses ocaml findlib ocaml_pcre camlzip openssl ocaml_ssl cryptokit];
16−
17− propagatedbuildInputs = [ncurses ocaml_pcre camlzip openssl ocaml_ssl cryptokit];
16+ buildInputs = [ ncurses ocaml findlib ocaml_pcre camlzip gnutls pkgconfig nettle ];
1817
1918 createFindlibDestdir = true;
2019
@@ -23,10 +22,9 @@ stdenv.mkDerivation {
2322 preConfigure = ''
2423 configureFlagsArray=(
2524 -bindir $out/bin
26− -enable-ssl
25+ -enable-gnutls
2726 -enable-zip
2827 -enable-pcre
29− -enable-crypto
3028 -disable-gtk2
3129 -with-nethttpd
3230 -datadir $out/lib/ocaml/${ocaml_version}/ocamlnet