summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/dum
diff options
context:
space:
mode:
authorAlexandre Esteves <2335822+alexfmpe@users.noreply.github.com>2020-01-26 01:10:17 +0000
committerProfpatsch <mail@profpatsch.de>2020-01-26 02:10:17 +0100
commit8604575f6bfa82cbec3ce6a1450d8808da2b6d31 (patch)
tree947dd513bd17eede5ba525187bb24644bf5307b9 /pkgs/development/ocaml-modules/dum
parent42b8090a017490d98b5997bd00fcb8a82f28a2b2 (diff)
downloadnixpkgs-8604575f6bfa82cbec3ce6a1450d8808da2b6d31.tar
nixpkgs-8604575f6bfa82cbec3ce6a1450d8808da2b6d31.tar.gz
nixpkgs-8604575f6bfa82cbec3ce6a1450d8808da2b6d31.tar.bz2
nixpkgs-8604575f6bfa82cbec3ce6a1450d8808da2b6d31.tar.lz
nixpkgs-8604575f6bfa82cbec3ce6a1450d8808da2b6d31.tar.xz
nixpkgs-8604575f6bfa82cbec3ce6a1450d8808da2b6d31.tar.zst
nixpkgs-8604575f6bfa82cbec3ce6a1450d8808da2b6d31.zip
ocamlPackages.dum: init at 1.0.1 (#74817)
* ocamlPackages.dum: init at 1.0.1

* Cleanup
Diffstat (limited to 'pkgs/development/ocaml-modules/dum')
-rw-r--r--pkgs/development/ocaml-modules/dum/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/dum/default.nix b/pkgs/development/ocaml-modules/dum/default.nix
new file mode 100644
index 00000000000..37c00f6b31e
--- /dev/null
+++ b/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 ];
+  };
+}