parent
883c55748f
commit
14edfb4cd7
|
@ -1,10 +1,12 @@
|
||||||
{ lib, buildDunePackage, fetchurl, seq }:
|
{ lib, buildDunePackage, ocaml, fetchurl, seq, qcheck-alcotest }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
minimumOCamlVersion = "4.03";
|
minimumOCamlVersion = "4.03";
|
||||||
pname = "psq";
|
pname = "psq";
|
||||||
version = "0.2.0";
|
version = "0.2.0";
|
||||||
|
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/pqwy/psq/releases/download/v${version}/psq-v${version}.tbz";
|
url = "https://github.com/pqwy/psq/releases/download/v${version}/psq-v${version}.tbz";
|
||||||
sha256 = "1j4lqkq17rskhgcrpgr4n1m1a2b1x35mlxj6f9g05rhpmgvgvknk";
|
sha256 = "1j4lqkq17rskhgcrpgr4n1m1a2b1x35mlxj6f9g05rhpmgvgvknk";
|
||||||
|
@ -12,6 +14,9 @@ buildDunePackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ seq ];
|
propagatedBuildInputs = [ seq ];
|
||||||
|
|
||||||
|
doCheck = lib.versionAtLeast ocaml.version "4.07";
|
||||||
|
checkInputs = [ qcheck-alcotest ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Functional Priority Search Queues for OCaml";
|
description = "Functional Priority Search Queues for OCaml";
|
||||||
homepage = "https://github.com/pqwy/psq";
|
homepage = "https://github.com/pqwy/psq";
|
||||||
|
|
Loading…
Reference in New Issue