git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.lwt_ssl: switch to fetchFromGitHub
commit659d63ee57ce5e100c99d820327af957f03ee2f6 authorFelix Buehler <account@buehler.rocks> dateSat 30 Oct 2021, 19:14 (5 years ago) parentbb7d127
1 file changed+6−4
pkgs/development/ocaml-modules/lwt_ssl/default.nix+6−4
pkgs/development/ocaml-modules/lwt_ssl/default.nix+6−4
@@ -1,4 +1,4 @@
1−{ lib, fetchzip, buildDunePackage, ssl, lwt }:
1+{ lib, fetchFromGitHub, buildDunePackage, ssl, lwt }:
22
33buildDunePackage rec {
44 pname = "lwt_ssl";
@@ -7,9 +7,11 @@ buildDunePackage rec {
77 minimumOCamlVersion = "4.02";
88 useDune2 = true;
99
10− src = fetchzip {
11− url = "https://github.com/aantron/${pname}/archive/${version}.tar.gz";
12− sha256 = "0v417ch5zn0yknj156awa5mrq3mal08pbrvsyribbn63ix6f9y3p";
10+ src = fetchFromGitHub {
11+ owner = "aantron";
12+ repo = "lwt_ssl";
13+ rev = version;
14+ sha256 = "sha256-d/jkTI/D2LVi9nrndRGgqg6ca1FcmRKknR7YXyA7gWw=";
1315 };
1416
1517 propagatedBuildInputs = [ ssl lwt ];