blob: 13364beed5cbb6fa66d0f9a117b8abc4233a5980 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib, stdenv, fetchurl, dune, ocamlPackages }:
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";
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 ];
};
}
|