Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 26 lines 696 B view raw
1{ lib, buildDunePackage, ocaml, fetchurl, seq, qcheck-alcotest }: 2 3buildDunePackage rec { 4 minimalOCamlVersion = "4.03"; 5 pname = "psq"; 6 version = "0.2.1"; 7 8 duneVersion = "3"; 9 10 src = fetchurl { 11 url = "https://github.com/pqwy/psq/releases/download/v${version}/psq-${version}.tbz"; 12 hash = "sha256-QgBfUz6r50sXme4yuJBWVM1moivtSvK9Jmso2EYs00Q="; 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}