ocamlPackages.h1: 1.0.0 → 1.1.0

Changed files
+11 -4
pkgs
development
ocaml-modules
+5
pkgs/development/ocaml-modules/git/paf.nix
···
inherit (git) version src;
+
postPatch = ''
+
substituteInPlace src/git-paf/dune --replace-fail bigstringaf 'bigstringaf bstr'
+
substituteInPlace src/git-paf/git_paf.ml --replace-fail Bigstringaf.t Bstr.t
+
'';
+
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [
+6 -4
pkgs/development/ocaml-modules/h1/default.nix
···
buildDunePackage,
fetchurl,
angstrom,
-
bigstringaf,
+
base64,
+
bstr,
faraday,
httpun-types,
alcotest,
-
version ? "1.0.0",
+
version ? "1.1.0",
}:
buildDunePackage {
···
src = fetchurl {
url = "https://github.com/robur-coop/ocaml-h1/releases/download/v${version}/h1-${version}.tbz";
-
hash = "sha256-uFHRcNmfHiFmdMAMKiS5KilIwMylf/AoJCfxllrIvRM=";
+
hash = "sha256-LTBn7TgBY5IBSfvpFJ1b2mMLT0XjwQvnk77qBqB8bTw=";
};
propagatedBuildInputs = [
angstrom
-
bigstringaf
+
base64
+
bstr
faraday
httpun-types
];