Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 react, 6 result, 7 uchar, 8 uutf, 9 uucp, 10 uuseg, 11}: 12 13buildDunePackage rec { 14 pname = "zed"; 15 version = "3.2.3"; 16 17 propagatedBuildInputs = [ 18 react 19 result 20 uchar 21 uutf 22 uucp 23 uuseg 24 ]; 25 26 src = fetchFromGitHub { 27 owner = "ocaml-community"; 28 repo = pname; 29 rev = version; 30 sha256 = "sha256-lbhqjZxeUqHdd+yahRO+B6L2mc+h+4T2+qKVgWC2HY8="; 31 }; 32 33 meta = { 34 description = "Abstract engine for text edition in OCaml"; 35 longDescription = '' 36 Zed is an abstract engine for text edition. It can be used to write text editors, edition widgets, readlines, ... 37 38 Zed uses Camomile to fully support the Unicode specification, and implements an UTF-8 encoded string type with validation, and a rope datastructure to achieve efficient operations on large Unicode buffers. Zed also features a regular expression search on ropes. 39 40 To support efficient text edition capabilities, Zed provides macro recording and cursor management facilities. 41 ''; 42 homepage = "https://github.com/ocaml-community/zed"; 43 changelog = "https://github.com/ocaml-community/zed/blob/${version}/CHANGES.md"; 44 license = lib.licenses.bsd3; 45 maintainers = [ 46 lib.maintainers.gal_bolle 47 ]; 48 }; 49}