aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/dolog
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2015-03-19 19:14:18 +0100
committerVincent Laporte <Vincent.Laporte@gmail.com>2015-03-19 19:14:18 +0100
commit20b150b26cb93cd8465b84fe6606c78d3132ae11 (patch)
tree95fa2d07fcccbcc3c02eb7dcdbef0d27a4fa4829 /pkgs/development/ocaml-modules/dolog
parentd52b6f1d3ec82a150a2298ec63996585789b68de (diff)
Adds ocaml-dolog-1.0
dolog is a minimalistic lazy logger in OCaml Homepage: https://github.com/UnixJunkie/dolog
Diffstat (limited to 'pkgs/development/ocaml-modules/dolog')
-rw-r--r--pkgs/development/ocaml-modules/dolog/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/dolog/default.nix b/pkgs/development/ocaml-modules/dolog/default.nix
new file mode 100644
index 000000000000..6d046ce5294b
--- /dev/null
+++ b/pkgs/development/ocaml-modules/dolog/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchzip, ocaml, findlib }:
+
+let version = "1.0"; in
+
+stdenv.mkDerivation {
+ name = "ocaml-dolog-${version}";
+ src = fetchzip {
+ url = "https://github.com/UnixJunkie/dolog/archive/v${version}.tar.gz";
+ sha256 = "1yy3a0h9xn5mv8q38yx5jgavj2hgfw42mdnrzixl25pqx7idvcmf";
+ };
+
+ buildInputs = [ ocaml findlib ];
+
+ createFindlibDestdir = true;
+
+ doCheck = true;
+ checkTarget = "test";
+
+ meta = {
+ homepage = https://github.com/UnixJunkie/dolog;
+ description = "Minimalistic lazy logger in OCaml";
+ platforms = ocaml.meta.platforms;
+ license = stdenv.lib.licenses.bsd3;
+ maintainers = with stdenv.lib.maintainers; [ vbgl ];
+ };
+}