nixpkgs/pkgs/applications/science/logic/acgtk/default.nix

31 lines
819 B
Nix
Raw Normal View History

2021-02-18 07:46:38 +00:00
{ lib, stdenv, fetchurl, dune_2, ocamlPackages }:
2014-10-28 13:06:21 +00:00
stdenv.mkDerivation {
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; [
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
meta = with lib; {
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 ];
};
}