From 5267f3784995e4452429b049f2aadfa8631e09cd Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 21 Nov 2016 19:20:25 +0100 Subject: [PATCH] ocamlPackages.ssl: 0.5.2 -> 0.5.3 --- pkgs/development/ocaml-modules/ssl/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/development/ocaml-modules/ssl/default.nix b/pkgs/development/ocaml-modules/ssl/default.nix index e25b17fb6567..81b8c28b4524 100644 --- a/pkgs/development/ocaml-modules/ssl/default.nix +++ b/pkgs/development/ocaml-modules/ssl/default.nix @@ -1,13 +1,12 @@ -{stdenv, fetchurl, which, openssl, ocaml, findlib}: +{ stdenv, fetchzip, which, openssl, ocaml, findlib }: stdenv.mkDerivation rec { - name = "ocaml-ssl-${version}"; - version = "0.5.2"; + name = "ocaml${ocaml.version}-ssl-${version}"; + version = "0.5.3"; - src = fetchurl { - url = "mirror://sourceforge/project/savonet/ocaml-ssl/0.5.2/ocaml-ssl-0.5.2.tar.gz"; - - sha256 = "0341rm8aqrckmhag1lrqfnl17v6n4ci8ibda62ahkkn5cxd58cpp"; + src = fetchzip { + url = "https://github.com/savonet/ocaml-ssl/releases/download/0.5.3/ocaml-ssl-${version}.tar.gz"; + sha256 = "0h2k19zpdvq1gqwrmmgkibw4j48l71vv6ajzxs0wi71y80c1vhwm"; }; buildInputs = [which ocaml findlib];