Skip to content

Commit

Permalink
Add dune-site, upgrade http/af / h2 (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro authored Apr 13, 2021
1 parent 99df0f1 commit 68b87e9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions ocaml/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,16 @@ websocketafPackages // {
then oself.dune_2
else osuper.dune_1;

dune-site = buildDunePackage {
pname = "dune-site";
inherit (oself.dune) src version patches;
useDune2 = true;

dontAddPrefix = true;

propagatedBuildInputs = [ dune-private-libs ];
};

dune-release = osuper.dune-release.overrideAttrs (o: {
doCheck = false;
src = builtins.fetchurl {
Expand Down
4 changes: 2 additions & 2 deletions ocaml/h2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
with ocamlPackages;
let
buildH2 = args: buildDunePackage (rec {
version = "0.7.0";
version = "0.8.0";
src = builtins.fetchurl {
url = "https://github.com/anmonteiro/ocaml-h2/releases/download/${version}/h2-${version}.tbz";
sha256 = "1g2y823bfaq7gy0cz5x5y8gd900lc8sq9pssqkgj6z94fnh378k3";
sha256 = "0qcn3yvyz0h419fjg9nb20csfmwmh3ihz0zb0jfzdycf5w4mlry6";
};
} // args);
in
Expand Down
4 changes: 2 additions & 2 deletions ocaml/httpaf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildDunePackage {
pname = "httpaf";
propagatedBuildInputs = [ angstrom faraday ];
src = builtins.fetchurl {
url = https://github.com/anmonteiro/httpaf/archive/909297dd811fcd03bf8ce54affd7da21ad31c067.tar.gz;
sha256 = "0h5jfnrxqfg9jk49l8zq6g551nnm0qh29mnza1cjm4jb7vbsj54n";
url = https://github.com/anmonteiro/httpaf/archive/b78a84204fb10f48f9e38f3acec6ff9c759e0963.tar.gz;
sha256 = "1x72xlamxaqrkplzn0wfd6hzkc7cc11inqwn03zp541qkrjfh0g2";
};
}

0 comments on commit 68b87e9

Please sign in to comment.