ocamlPackages.ocamlnet: 4.1.5 -> 4.1.6

This commit is contained in:
Vincent Laporte 2018-05-09 05:59:18 +00:00
parent 9c6be76276
commit ca7eb9901e
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -1,23 +1,17 @@
{ stdenv, fetchurl, pkgconfig, ncurses, ocaml, findlib, ocaml_pcre, camlzip
, gnutls, nettle, fetchpatch
, gnutls, nettle
}:
let version = "4.1.5"; in
let version = "4.1.6"; in
stdenv.mkDerivation {
name = "ocaml${ocaml.version}-ocamlnet-${version}";
src = fetchurl {
url = "http://download.camlcity.org/download/ocamlnet-${version}.tar.gz";
sha256 = "1ppcd2zjhj6s3ib9q8dngnr53qlmkhvv7a8hzp88r79k6jygn4cm";
sha256 = "1j0k0drybcjpysvs8xpq3cnpg3wqk6d5sy7y1h5rq8jk7hrirf0k";
};
patches = [ (fetchpatch {
url = "https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/ocamlnet/ocamlnet.4.1.5/files/netgzip.patch";
sha256 = "1say7zzgk24qcy9m91gcfgvz4fv7nksx4j5qnbxyq8wqw0g88ba0";
})
];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses ocaml findlib ocaml_pcre camlzip gnutls nettle ];