ocaml-atd: add initial version (1.1.2) to the system

This commit is contained in:
Eric Merritt 2015-05-25 13:42:07 -07:00
parent 9cc8b80c96
commit 7efe850b1d
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{stdenv, menhir, easy-format, buildOcaml, fetchurl, which}:
buildOcaml rec {
name = "atd";
version = "1.1.2";
src = fetchurl {
url = "https://github.com/mjambon/atd/archive/v${version}.tar.gz";
sha256 = "0ef10c63192aed75e9a4274e89c5f9ca27efb1ef230d9949eda53ad4a9a37291";
};
installPhase = ''
mkdir -p $out/bin
make PREFIX=$out install
'';
buildInputs = [ which ];
propagatedBuildInputs = [ menhir easy-format ];
meta = with stdenv.lib; {
homepage = https://github.com/mjambon/atd;
description = "Syntax for cross-language type definitions";
license = licenses.bsd3;
maintainers = [ maintainers.jwilberding ];
};
}

View File

@ -4063,6 +4063,7 @@ let
async = callPackage ../development/ocaml-modules/async { }; async = callPackage ../development/ocaml-modules/async { };
atd = callPackage ../development/ocaml-modules/atd { };
base64 = callPackage ../development/ocaml-modules/base64 { }; base64 = callPackage ../development/ocaml-modules/base64 { };
bolt = callPackage ../development/ocaml-modules/bolt { }; bolt = callPackage ../development/ocaml-modules/bolt { };