ocamlPackages.higlo: 0.8 → 0.9

This commit is contained in:
Vincent Laporte 2023-09-20 07:25:19 +02:00 committed by Vincent Laporte
parent 42c4d51f91
commit 0f96276d78
2 changed files with 10 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, fetchFromGitLab, ocaml
{ lib, buildDunePackage, fetchFromGitLab, fetchpatch, ocaml
, fmt, lwt_ppx, menhir, ocf_ppx, ppx_blob, xtmpl_ppx
, dune-build-info, dune-site, higlo, logs, lwt, ocf, ptime, uri, uutf, xtmpl
}:
@ -10,7 +10,6 @@ else
buildDunePackage rec {
pname = "stog";
version = "0.20.0";
duneVersion = "3";
minimalOCamlVersion = "4.12";
src = fetchFromGitLab {
domain = "framagit.org";
@ -20,6 +19,12 @@ buildDunePackage rec {
sha256 = "sha256:0krj5w4y05bcfx7hk9blmap8avl31gp7yi01lpqzs6ync23mvm0x";
};
# Compatibility with higlo 0.9
patches = fetchpatch {
url = "https://framagit.org/zoggy/stog/-/commit/ea0546ab4cda8cc5c4c820ebaf2e3dfddc2ab101.patch";
hash = "sha256-86GRHF9OjfcalGfA0Om2wXH99j4THCs9a4+o5ghuiJc=";
};
nativeBuildInputs = [ menhir ];
buildInputs = [ fmt lwt_ppx ocf_ppx ppx_blob xtmpl_ppx ];
propagatedBuildInputs = [

View File

@ -2,14 +2,14 @@
buildDunePackage rec {
pname = "higlo";
version = "0.8";
duneVersion = "3";
version = "0.9";
src = fetchFromGitLab {
domain = "framagit.org";
owner = "zoggy";
repo = "higlo";
rev = version;
sha256 = "sha256:09hsbwy5asacgh4gdj0vjpy4kzfnq3qji9szbsbyswsf1nbyczir";
hash = "sha256-SaFFzp4FCjVLdMLH6mNIv3HzJbkXJ5Ojbku258LCfLI=";
};
propagatedBuildInputs = [ sedlex xtmpl ];