2021-02-24 18:30:23 +00:00
|
|
|
{ lib, stdenv, fetchurl, dune_2, ocamlPackages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
|
|
|
|
pname = "acgtk";
|
2021-02-24 18:30:23 +00:00
|
|
|
version = "1.5.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-02-24 18:30:23 +00:00
|
|
|
url = "https://acg.loria.fr/software/acg-1.5.2-20201204.tar.gz";
|
|
|
|
sha256 = "09yax7dyw8kgwzlb69r9d20y7rrymzwi3bbq2dh0qdq01vjz2xwq";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-24 18:30:23 +00:00
|
|
|
buildInputs = [ dune_2 ] ++ (with ocamlPackages; [
|
2021-06-06 07:54:09 +00:00
|
|
|
ocaml findlib ansiterminal cairo2 cmdliner fmt logs menhir menhirLib mtime 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 ];
|
|
|
|
};
|
|
|
|
}
|