diff options
author | Felix Buehler <account@buehler.rocks> | 2021-10-30 19:14:28 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-11-25 12:37:40 +0100 |
commit | 659d63ee57ce5e100c99d820327af957f03ee2f6 (patch) | |
tree | 893de8b5b4457d6f1fc37f94a11cf10ef083da1c /pkgs/development/ocaml-modules/lwt_ssl | |
parent | bb7d12745b9e2d7ee9c2356c89569ac53d45a50c (diff) |
ocamlPackages.lwt_ssl: switch to fetchFromGitHub
Diffstat (limited to 'pkgs/development/ocaml-modules/lwt_ssl')
-rw-r--r-- | pkgs/development/ocaml-modules/lwt_ssl/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/ocaml-modules/lwt_ssl/default.nix b/pkgs/development/ocaml-modules/lwt_ssl/default.nix index 173094aacb84c..64decd8e5d632 100644 --- a/pkgs/development/ocaml-modules/lwt_ssl/default.nix +++ b/pkgs/development/ocaml-modules/lwt_ssl/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchzip, buildDunePackage, ssl, lwt }: +{ lib, fetchFromGitHub, buildDunePackage, ssl, lwt }: buildDunePackage rec { pname = "lwt_ssl"; @@ -7,9 +7,11 @@ buildDunePackage rec { minimumOCamlVersion = "4.02"; useDune2 = true; - src = fetchzip { - url = "https://github.com/aantron/${pname}/archive/${version}.tar.gz"; - sha256 = "0v417ch5zn0yknj156awa5mrq3mal08pbrvsyribbn63ix6f9y3p"; + src = fetchFromGitHub { + owner = "aantron"; + repo = "lwt_ssl"; + rev = version; + sha256 = "sha256-d/jkTI/D2LVi9nrndRGgqg6ca1FcmRKknR7YXyA7gWw="; }; propagatedBuildInputs = [ ssl lwt ]; |