summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorEric Merritt <eric@afiniate.com>2015-05-25 13:42:07 -0700
committerEric Merritt <eric@afiniate.com>2015-05-25 13:42:07 -0700
commit7efe850b1d0a3428f2feb4eb027049651a1de579 (patch)
tree5b2007fb71be846fc048a6134065cb6aec2591f7 /pkgs/development/ocaml-modules
parent9cc8b80c9613aba4c11d442a29fbfd7ffd79c12b (diff)
downloadnixlib-7efe850b1d0a3428f2feb4eb027049651a1de579.tar
nixlib-7efe850b1d0a3428f2feb4eb027049651a1de579.tar.gz
nixlib-7efe850b1d0a3428f2feb4eb027049651a1de579.tar.bz2
nixlib-7efe850b1d0a3428f2feb4eb027049651a1de579.tar.lz
nixlib-7efe850b1d0a3428f2feb4eb027049651a1de579.tar.xz
nixlib-7efe850b1d0a3428f2feb4eb027049651a1de579.tar.zst
nixlib-7efe850b1d0a3428f2feb4eb027049651a1de579.zip
ocaml-atd: add initial version (1.1.2) to the system
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/atd/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/atd/default.nix b/pkgs/development/ocaml-modules/atd/default.nix
new file mode 100644
index 000000000000..c7f8bc3d10f7
--- /dev/null
+++ b/pkgs/development/ocaml-modules/atd/default.nix
@@ -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 ];
+  };
+}