about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/dum
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-01-26 23:38:55 +0000
committerAlyssa Ross <hi@alyssa.is>2020-01-26 23:38:55 +0000
commit02e12559a420f8c544b2facc4931904900a05518 (patch)
treeba39d8fa9e874b935d204e74accfed5caaccf0fa /nixpkgs/pkgs/development/ocaml-modules/dum
parent542f80867c380b0ac79250b6e5358dda8bc49e0d (diff)
parent3d085a399c436a41d875801619e8f976b8519196 (diff)
downloadnixlib-02e12559a420f8c544b2facc4931904900a05518.tar
nixlib-02e12559a420f8c544b2facc4931904900a05518.tar.gz
nixlib-02e12559a420f8c544b2facc4931904900a05518.tar.bz2
nixlib-02e12559a420f8c544b2facc4931904900a05518.tar.lz
nixlib-02e12559a420f8c544b2facc4931904900a05518.tar.xz
nixlib-02e12559a420f8c544b2facc4931904900a05518.tar.zst
nixlib-02e12559a420f8c544b2facc4931904900a05518.zip
Merge commit '3d085a399c436a41d875801619e8f976b8519196'
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/dum')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/dum/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/dum/default.nix b/nixpkgs/pkgs/development/ocaml-modules/dum/default.nix
new file mode 100644
index 000000000000..37c00f6b31e9
--- /dev/null
+++ b/nixpkgs/pkgs/development/ocaml-modules/dum/default.nix
@@ -0,0 +1,28 @@
+{ lib, fetchFromGitHub, buildOcaml, ocaml
+, easy-format
+}:
+
+buildOcaml rec {
+  name = "dum";
+  version = "1.0.1";
+
+  minimumOCamlVersion = "4.06";
+
+  src = fetchFromGitHub {
+    owner = "mjambon";
+    repo = name;
+    rev = "v${version}";
+    sha256 = "0yrxl97szjc0s2ghngs346x3y0xszx2chidgzxk93frjjpsr1mlr";
+  };
+
+  buildInputs = [ easy-format ];
+
+  doCheck = true;
+
+  meta = with lib; {
+    homepage = https://github.com/mjambon/dum;
+    description = "Inspect the runtime representation of arbitrary OCaml values";
+    license = licenses.lgpl21Plus;
+    maintainers = [ maintainers.alexfmpe ];
+  };
+}