Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 ocaml, 5 fetchurl, 6 seq, 7 qcheck-alcotest, 8}: 9 10buildDunePackage rec { 11 minimalOCamlVersion = "4.03"; 12 pname = "psq"; 13 version = "0.2.1"; 14 15 duneVersion = "3"; 16 17 src = fetchurl { 18 url = "https://github.com/pqwy/psq/releases/download/v${version}/psq-${version}.tbz"; 19 hash = "sha256-QgBfUz6r50sXme4yuJBWVM1moivtSvK9Jmso2EYs00Q="; 20 }; 21 22 propagatedBuildInputs = [ seq ]; 23 24 doCheck = lib.versionAtLeast ocaml.version "4.08"; 25 checkInputs = [ qcheck-alcotest ]; 26 27 meta = { 28 description = "Functional Priority Search Queues for OCaml"; 29 homepage = "https://github.com/pqwy/psq"; 30 maintainers = [ lib.maintainers.vbgl ]; 31 license = lib.licenses.isc; 32 }; 33}