2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, dune, ocamlPackages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
|
|
|
|
pname = "acgtk";
|
|
|
|
version = "1.5.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://acg.loria.fr/software/acg-1.5.1-20191113.tar.gz";
|
|
|
|
sha256 = "17595qfwhzz5q091ak6i6bg5wlppbn8zfn58x3hmmmjvx2yfajn1";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ dune ] ++ (with ocamlPackages; [
|
|
|
|
ocaml findlib ansiterminal cairo2 cmdliner fmt logs menhir mtime yojson
|
|
|
|
]);
|
|
|
|
|
|
|
|
buildPhase = "dune build";
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|