ocamlPackages.lwt_ssl: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-10-30 19:14:28 +02:00
parent bb7d12745b
commit 659d63ee57

View File

@ -1,4 +1,4 @@
{ lib, fetchzip, buildDunePackage, ssl, lwt }: { lib, fetchFromGitHub, buildDunePackage, ssl, lwt }:
buildDunePackage rec { buildDunePackage rec {
pname = "lwt_ssl"; pname = "lwt_ssl";
@ -7,9 +7,11 @@ buildDunePackage rec {
minimumOCamlVersion = "4.02"; minimumOCamlVersion = "4.02";
useDune2 = true; useDune2 = true;
src = fetchzip { src = fetchFromGitHub {
url = "https://github.com/aantron/${pname}/archive/${version}.tar.gz"; owner = "aantron";
sha256 = "0v417ch5zn0yknj156awa5mrq3mal08pbrvsyribbn63ix6f9y3p"; repo = "lwt_ssl";
rev = version;
sha256 = "sha256-d/jkTI/D2LVi9nrndRGgqg6ca1FcmRKknR7YXyA7gWw=";
}; };
propagatedBuildInputs = [ ssl lwt ]; propagatedBuildInputs = [ ssl lwt ];