at 22.05-pre 26 lines 698 B view raw
1{ lib, buildDunePackage, ocaml, fetchurl, seq, qcheck-alcotest }: 2 3buildDunePackage 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"; 12 sha256 = "1j4lqkq17rskhgcrpgr4n1m1a2b1x35mlxj6f9g05rhpmgvgvknk"; 13 }; 14 15 propagatedBuildInputs = [ seq ]; 16 17 doCheck = lib.versionAtLeast ocaml.version "4.08"; 18 checkInputs = [ qcheck-alcotest ]; 19 20 meta = { 21 description = "Functional Priority Search Queues for OCaml"; 22 homepage = "https://github.com/pqwy/psq"; 23 maintainers = [ lib.maintainers.vbgl ]; 24 license = lib.licenses.isc; 25 }; 26}