From 6863dfeccc4296bba01a0a736878141545f54f14 Mon Sep 17 00:00:00 2001 From: Florent Becker Date: Sat, 17 May 2014 12:51:18 +0200 Subject: Add a derivation for ocaml-optcomp --- pkgs/development/ocaml-modules/optcomp/default.nix | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pkgs/development/ocaml-modules/optcomp/default.nix (limited to 'pkgs/development/ocaml-modules/optcomp') 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 + ]; + }; + +} -- cgit 1.4.1