2021-02-18 07:46:38 +00:00
|
|
|
{ lib, stdenv, fetchurl, dune_2, ocamlPackages }:
|
2014-10-28 13:06:21 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
|
2020-03-07 08:56:18 +00:00
|
|
|
pname = "acgtk";
|
2021-02-18 07:46:38 +00:00
|
|
|
version = "1.5.2";
|
2014-10-28 13:06:21 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-02-18 07:46:38 +00:00
|
|
|
url = "https://acg.loria.fr/software/acg-1.5.2-20201204.tar.gz";
|
|
|
|
sha256 = "09yax7dyw8kgwzlb69r9d20y7rrymzwi3bbq2dh0qdq01vjz2xwq";
|
2014-10-28 13:06:21 +00:00
|
|
|
};
|
|
|
|
|
2021-02-18 07:46:38 +00:00
|
|
|
buildInputs = [ dune_2 ] ++ (with ocamlPackages; [
|
2020-03-07 08:56:18 +00:00
|
|
|
ocaml findlib ansiterminal cairo2 cmdliner fmt logs menhir mtime yojson
|
2018-11-04 06:29:27 +00:00
|
|
|
]);
|
2014-10-28 13:06:21 +00:00
|
|
|
|
2021-02-18 07:46:38 +00:00
|
|
|
buildPhase = "dune build --profile=release";
|
2014-10-28 13:06:21 +00:00
|
|
|
|
2021-01-12 19:47:36 +00:00
|
|
|
installPhase = ''
|
|
|
|
dune install --prefix $out --libdir $OCAMLFIND_DESTDIR
|
|
|
|
'';
|
2014-10-28 13:06:21 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://acg.loria.fr/";
|
2014-10-28 13:06:21 +00:00
|
|
|
description = "A toolkit for developing ACG signatures and lexicon";
|
|
|
|
license = licenses.cecill20;
|
2018-11-04 06:29:27 +00:00
|
|
|
inherit (ocamlPackages.ocaml.meta) platforms;
|
2014-10-28 13:06:21 +00:00
|
|
|
maintainers = [ maintainers.jirkamarsik ];
|
|
|
|
};
|
|
|
|
}
|