aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/easy-format
diff options
context:
space:
mode:
authorVincent Laporte <vincent.laporte@gmail.com>2014-06-25 14:08:12 +0200
committerVincent Laporte <vincent.laporte@gmail.com>2014-06-29 15:37:46 +0200
commitb598497da9ed2ff511f1024ed7eb6e557425b579 (patch)
treeedf82fed41e6e505e921cdbfc2bdfd54a708336b /pkgs/development/ocaml-modules/easy-format
parenta278c3dfa80a514bd25f46350568c4a8ddb373dc (diff)
Adds easy-format
Diffstat (limited to 'pkgs/development/ocaml-modules/easy-format')
-rw-r--r--pkgs/development/ocaml-modules/easy-format/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/easy-format/default.nix b/pkgs/development/ocaml-modules/easy-format/default.nix
new file mode 100644
index 000000000000..d01a4edf26ec
--- /dev/null
+++ b/pkgs/development/ocaml-modules/easy-format/default.nix
@@ -0,0 +1,27 @@
+{stdenv, fetchurl, ocaml, findlib}:
+let
+ pname = "easy-format";
+ version = "1.0.2";
+ webpage = "http://mjambon.com/${pname}.html";
+in
+stdenv.mkDerivation rec {
+
+ name = "${pname}-${version}";
+
+ src = fetchurl {
+ url = "http://mjambon.com/releases/${pname}/${name}.tar.gz";
+ sha256 = "07wlgprqvk92z0p2xzbnvh312ca6gvhy3xc6hxlqfawnnnin7rzi";
+ };
+
+ buildInputs = [ ocaml findlib ];
+
+ createFindlibDestdir = true;
+
+ meta = {
+ description = "A high-level and functional interface to the Format module of the OCaml standard library";
+ homepage = "${webpage}";
+ license = "bsd";
+ };
+}
+
+