stog: 0.20.0 → 1.0.0

This commit is contained in:
Vincent Laporte 2024-03-21 07:38:00 +01:00 committed by Vincent Laporte
parent 5e24981541
commit 472c35cbac
2 changed files with 5 additions and 15 deletions

View File

@ -1,28 +1,18 @@
{ lib, buildDunePackage, fetchFromGitLab, fetchpatch, ocaml
{ lib, buildDunePackage, fetchFromGitLab
, fmt, lwt_ppx, menhir, ocf_ppx, ppx_blob, xtmpl_ppx
, dune-build-info, dune-site, higlo, logs, lwt, ocf, ptime, uri, uutf, xtmpl
}:
if lib.versionAtLeast ocaml.version "4.13"
then throw "stog is not available for OCaml ${ocaml.version}"
else
buildDunePackage rec {
pname = "stog";
version = "0.20.0";
minimalOCamlVersion = "4.12";
version = "1.0.0";
minimalOCamlVersion = "4.13";
src = fetchFromGitLab {
domain = "framagit.org";
owner = "zoggy";
repo = "stog";
rev = version;
sha256 = "sha256:0krj5w4y05bcfx7hk9blmap8avl31gp7yi01lpqzs6ync23mvm0x";
};
# Compatibility with higlo 0.9
patches = fetchpatch {
url = "https://framagit.org/zoggy/stog/-/commit/ea0546ab4cda8cc5c4c820ebaf2e3dfddc2ab101.patch";
hash = "sha256-86GRHF9OjfcalGfA0Om2wXH99j4THCs9a4+o5ghuiJc=";
hash = "sha256-hMb6D6VSq2o2NjycwxZt3mZKy1FR+3afEwbOmTc991g=";
};
nativeBuildInputs = [ menhir ];

View File

@ -34895,7 +34895,7 @@ with pkgs;
stalonetray = callPackage ../applications/window-managers/stalonetray { };
inherit (ocaml-ng.ocamlPackages_4_12) stog;
inherit (ocaml-ng.ocamlPackages) stog;
stp = callPackage ../applications/science/logic/stp { };