diff --git a/pkgs/development/ocaml-modules/lwt_ssl/default.nix b/pkgs/development/ocaml-modules/lwt_ssl/default.nix index c33f623529a6..7b74d92c2e50 100644 --- a/pkgs/development/ocaml-modules/lwt_ssl/default.nix +++ b/pkgs/development/ocaml-modules/lwt_ssl/default.nix @@ -1,14 +1,14 @@ -{ lib, fetchFromGitHub, buildDunePackage, ssl, lwt }: +{ lib, fetchurl, buildDunePackage, ssl, lwt }: buildDunePackage rec { pname = "lwt_ssl"; - version = "1.1.3"; + version = "1.2.0"; - src = fetchFromGitHub { - owner = "aantron"; - repo = "lwt_ssl"; - rev = version; - sha256 = "sha256-d/jkTI/D2LVi9nrndRGgqg6ca1FcmRKknR7YXyA7gWw="; + duneVersion = "3"; + + src = fetchurl { + url = "https://github.com/ocsigen/lwt_ssl/releases/download/${version}/lwt_ssl-${version}.tbz"; + hash = "sha256-swIK0nrs83fhw/J0Cgizbcu6mR+EMGZRE1dBBUiImnc="; }; propagatedBuildInputs = [ ssl lwt ]; diff --git a/pkgs/development/ocaml-modules/ssl/default.nix b/pkgs/development/ocaml-modules/ssl/default.nix index 7eca606f93fc..67e841ae1b31 100644 --- a/pkgs/development/ocaml-modules/ssl/default.nix +++ b/pkgs/development/ocaml-modules/ssl/default.nix @@ -12,6 +12,8 @@ buildDunePackage rec { pname = "ssl"; version = "0.5.13"; + duneVersion = "3"; + src = fetchFromGitHub { owner = "savonet"; repo = "ocaml-ssl";