diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2021-02-16 18:04:54 +0100 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2021-02-16 18:04:54 +0100 |
commit | 64b4617883844efe0cc20163e007ee636462eb18 (patch) | |
tree | 15c91d1962c02a6f664bf5b831d84471e2e73c58 /pkgs/development/ocaml-modules/ounit2 | |
parent | 96f0c2c191c50aae55715c0e7cbc93510354fcf4 (diff) |
ocamlPackages.ounit2: use Dune 2
Diffstat (limited to 'pkgs/development/ocaml-modules/ounit2')
-rw-r--r-- | pkgs/development/ocaml-modules/ounit2/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/ounit2/default.nix b/pkgs/development/ocaml-modules/ounit2/default.nix index 52676a1c88d91..0b68609584d4a 100644 --- a/pkgs/development/ocaml-modules/ounit2/default.nix +++ b/pkgs/development/ocaml-modules/ounit2/default.nix @@ -6,6 +6,8 @@ buildDunePackage rec { pname = "ounit2"; version = "2.2.4"; + useDune2 = lib.versionAtLeast ocaml.version "4.08"; + src = fetchurl { url = "https://github.com/gildor478/ounit/releases/download/v${version}/ounit-v${version}.tbz"; sha256 = "0i9kiqbf2dp12c4qcvbn4abdpdp6h4g5z54ycsh0q8jpv6jnkh5m"; |