tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.psq: use Dune 2
And enable tests
Vincent Laporte
5 years ago
14edfb4c
883c5574
+6
-1
1 changed file
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
psq
default.nix
+6
-1
pkgs/development/ocaml-modules/psq/default.nix
···
1
1
-
{ lib, buildDunePackage, fetchurl, seq }:
1
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
7
+
8
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
16
+
17
17
+
doCheck = lib.versionAtLeast ocaml.version "4.07";
18
18
+
checkInputs = [ qcheck-alcotest ];
14
19
15
20
meta = {
16
21
description = "Functional Priority Search Queues for OCaml";