aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/optcomp
diff options
context:
space:
mode:
authorFlorent Becker <florent.becker@ens-lyon.org>2014-05-17 12:51:18 +0200
committerMichael Raskin <7c6f434c@mail.ru>2014-09-06 12:44:32 +0400
commit6863dfeccc4296bba01a0a736878141545f54f14 (patch)
tree1254a8b62438eac04b0132ace3a502ead5f5eec7 /pkgs/development/ocaml-modules/optcomp
parent2ca3c23ddc7bb7881a8219b7e7931062df053dc4 (diff)
Add a derivation for ocaml-optcomp
Diffstat (limited to 'pkgs/development/ocaml-modules/optcomp')
-rw-r--r--pkgs/development/ocaml-modules/optcomp/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/optcomp/default.nix b/pkgs/development/ocaml-modules/optcomp/default.nix
new file mode 100644
index 000000000000..6075bc4ab2aa
--- /dev/null
+++ b/pkgs/development/ocaml-modules/optcomp/default.nix
@@ -0,0 +1,25 @@
+{stdenv, fetchurl, ocaml, findlib}:
+
+stdenv.mkDerivation {
+ name = "ocaml-optcomp";
+ src = fetchurl {
+ url = https://github.com/diml/optcomp/archive/1.6.tar.gz;
+ md5 = "d3587244dba1b8b10f24d0b60a8c700d";
+ };
+
+ createFindlibDestdir = true;
+
+ buildInputs = [ocaml findlib];
+
+
+ meta = {
+ homepage = https://github.com/diml/optcomp;
+ description = "Optional compilation for OCaml with cpp-like directives";
+ license = "BSD";
+ platforms = ocaml.meta.platforms;
+ maintainers = [
+ stdenv.lib.maintainers.gal_bolle
+ ];
+ };
+
+}