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