af34e3be8c
ocamlPackages.alcotest: 1.5.0 → 1.6.0 ocamlPackages.crowbar: 0.2 → 0.2.1 ocamlPackages.dune-release: 1.5.1 → 1.6.2 ocamlPackages.functoria: 3.1.1 → 4.2.0 ocamlPackages.mirage: 3.10.7 → 4.2.0 ocamlPackages.irmin-pack: disable checks ocamlPackages.mdx: disable checks ocamlPackages.git-unix: mark as broken
33 lines
909 B
Nix
33 lines
909 B
Nix
{ lib, stdenv, fetchFromGitLab, dune_2, ocamlPackages }:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "acgtk";
|
|
version = "1.5.4";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.inria.fr";
|
|
owner = "acg";
|
|
repo = "dev/acgtk";
|
|
rev = "8e630b6d91bad022bd1d1a075e7768034065c428";
|
|
sha256 = "sha256-W/BDhbng5iYuiB7desMKvRtDFdhoaxiJNvNvtbLlA6E=";
|
|
};
|
|
|
|
buildInputs = [ dune_2 ] ++ (with ocamlPackages; [
|
|
ocaml findlib ansiterminal cairo2 cmdliner fmt logs menhir menhirLib mtime sedlex yojson
|
|
]);
|
|
|
|
buildPhase = "dune build --profile=release";
|
|
|
|
installPhase = ''
|
|
dune install --prefix $out --libdir $OCAMLFIND_DESTDIR
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://acg.loria.fr/";
|
|
description = "A toolkit for developing ACG signatures and lexicon";
|
|
license = licenses.cecill20;
|
|
inherit (ocamlPackages.ocaml.meta) platforms;
|
|
maintainers = [ maintainers.jirkamarsik ];
|
|
};
|
|
}
|