9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
24 lines
703 B
Nix
24 lines
703 B
Nix
{ lib, fetchurl, ocaml, buildDunePackage, benchmark }:
|
|
|
|
lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
|
|
"rope is not available for OCaml ${ocaml.version}"
|
|
|
|
buildDunePackage rec {
|
|
pname = "rope";
|
|
version = "0.6.2";
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/Chris00/ocaml-rope/releases/download/${version}/rope-${version}.tbz";
|
|
sha256 = "15cvfa0s1vjx7gjd07d3fkznilishqf4z4h2q5f20wm9ysjh2h2i";
|
|
};
|
|
|
|
buildInputs = [ benchmark ] ;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/Chris00/ocaml-rope";
|
|
description = "Ropes (“heavyweight strings”) in OCaml";
|
|
license = lib.licenses.lgpl21;
|
|
maintainers = with lib.maintainers; [ ];
|
|
};
|
|
}
|