about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ounit2
diff options
context:
space:
mode:
authorsternenseemann <git@lukasepple.de>2020-04-13 16:42:14 +0200
committerVincent Laporte <Vincent.Laporte@gmail.com>2020-04-15 15:01:36 +0200
commit29a98f2be1961d84024c406fd437e223fb108087 (patch)
tree058ec1ed69e35d9f7ded14ff3e3014d5f7db03c6 /pkgs/development/ocaml-modules/ounit2
parentb1325ec4bc084297ce1bfb5a6d11b4362fdf47c9 (diff)
downloadnixlib-29a98f2be1961d84024c406fd437e223fb108087.tar
nixlib-29a98f2be1961d84024c406fd437e223fb108087.tar.gz
nixlib-29a98f2be1961d84024c406fd437e223fb108087.tar.bz2
nixlib-29a98f2be1961d84024c406fd437e223fb108087.tar.lz
nixlib-29a98f2be1961d84024c406fd437e223fb108087.tar.xz
nixlib-29a98f2be1961d84024c406fd437e223fb108087.tar.zst
nixlib-29a98f2be1961d84024c406fd437e223fb108087.zip
ocamlPackages.ounit2: init at 2.2.2
Diffstat (limited to 'pkgs/development/ocaml-modules/ounit2')
-rw-r--r--pkgs/development/ocaml-modules/ounit2/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/ounit2/default.nix b/pkgs/development/ocaml-modules/ounit2/default.nix
new file mode 100644
index 000000000000..aea386061937
--- /dev/null
+++ b/pkgs/development/ocaml-modules/ounit2/default.nix
@@ -0,0 +1,22 @@
+{ lib, buildDunePackage, fetchurl, stdlib-shims }:
+
+buildDunePackage rec {
+  minimumOCamlVersion = "4.02.3";
+
+  pname = "ounit2";
+  version = "2.2.2";
+
+  src = fetchurl {
+    url = "https://github.com/gildor478/ounit/releases/download/v${version}/ounit-v${version}.tbz";
+    sha256 = "1h4xdcyzwyhxg263w9b16x9n6cb11fzazmwnsnpich4djpl9lhsk";
+  };
+
+  propagatedBuildInputs = [ stdlib-shims ];
+
+  meta = with lib; {
+    homepage = "https://github.com/gildor478/ounit";
+    description = "A unit test framework for OCaml";
+    license = licenses.mit;
+    maintainers = with maintainers; [ sternenseemann ];
+  };
+}