lol

ocamlPackages.psq: use Dune 2

And enable tests

+6 -1
+6 -1
pkgs/development/ocaml-modules/psq/default.nix
··· 1 - { lib, buildDunePackage, fetchurl, seq }: 1 + { lib, buildDunePackage, ocaml, fetchurl, seq, qcheck-alcotest }: 2 2 3 3 buildDunePackage rec { 4 4 minimumOCamlVersion = "4.03"; 5 5 pname = "psq"; 6 6 version = "0.2.0"; 7 + 8 + useDune2 = true; 7 9 8 10 src = fetchurl { 9 11 url = "https://github.com/pqwy/psq/releases/download/v${version}/psq-v${version}.tbz"; ··· 11 13 }; 12 14 13 15 propagatedBuildInputs = [ seq ]; 16 + 17 + doCheck = lib.versionAtLeast ocaml.version "4.07"; 18 + checkInputs = [ qcheck-alcotest ]; 14 19 15 20 meta = { 16 21 description = "Functional Priority Search Queues for OCaml";