2022-09-09 14:08:57 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, dune_2, ocamlPackages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
|
|
|
|
pname = "acgtk";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "1.5.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.inria.fr";
|
|
|
|
owner = "acg";
|
|
|
|
repo = "dev/acgtk";
|
|
|
|
rev = "8e630b6d91bad022bd1d1a075e7768034065c428";
|
|
|
|
sha256 = "sha256-W/BDhbng5iYuiB7desMKvRtDFdhoaxiJNvNvtbLlA6E=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-24 18:30:23 +00:00
|
|
|
buildInputs = [ dune_2 ] ++ (with ocamlPackages; [
|
2022-09-22 12:36:57 +00:00
|
|
|
ocaml findlib ansiterminal cairo2 cmdliner fmt logs menhir menhirLib mtime sedlex yojson
|
2020-04-24 23:36:52 +00:00
|
|
|
]);
|
|
|
|
|
2021-02-24 18:30:23 +00:00
|
|
|
buildPhase = "dune build --profile=release";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
installPhase = ''
|
|
|
|
dune install --prefix $out --libdir $OCAMLFIND_DESTDIR
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|