diff options
author | Florent Becker <florent.becker@ens-lyon.org> | 2014-07-20 18:21:14 +0200 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2014-08-30 19:37:15 +0400 |
commit | edc11bc4f96754dff40da09ed3275acef756ff05 (patch) | |
tree | b54dbf1705941704b46240afeeecd6ece68379b7 /pkgs/development/ocaml-modules/zed | |
parent | 892490726c75b7f80f66a1aac794e32a137f5755 (diff) | |
download | nixpkgs-edc11bc4f96754dff40da09ed3275acef756ff05.tar nixpkgs-edc11bc4f96754dff40da09ed3275acef756ff05.tar.gz nixpkgs-edc11bc4f96754dff40da09ed3275acef756ff05.tar.bz2 nixpkgs-edc11bc4f96754dff40da09ed3275acef756ff05.tar.lz nixpkgs-edc11bc4f96754dff40da09ed3275acef756ff05.tar.xz nixpkgs-edc11bc4f96754dff40da09ed3275acef756ff05.tar.zst nixpkgs-edc11bc4f96754dff40da09ed3275acef756ff05.zip |
add the 'zed' ocaml editor library
Diffstat (limited to 'pkgs/development/ocaml-modules/zed')
-rw-r--r-- | pkgs/development/ocaml-modules/zed/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/zed/default.nix b/pkgs/development/ocaml-modules/zed/default.nix new file mode 100644 index 00000000000..3c2fae472be --- /dev/null +++ b/pkgs/development/ocaml-modules/zed/default.nix @@ -0,0 +1,34 @@ +{stdenv, fetchurl, ocaml, findlib, camomile, ocaml_react}: + +stdenv.mkDerivation rec { + version = "1.3"; + name = "ocaml-zed-${version}"; + + src = fetchurl { + url = https://github.com/diml/zed/archive/1.3.tar.gz; + sha256 = "1fr9xzf5msdnl2wx279aqj051nqbhs6v9aq1mfpv3r1mrqvrrfwj"; + }; + + buildInputs = [ ocaml findlib ocaml_react]; + + propagatedBuildInputs = [ camomile ]; + + createFindlibDestdir = true; + + meta = { + description = "Abstract engine for text edition in OCaml"; + longDescription = '' + Zed is an abstract engine for text edition. It can be used to write text editors, edition widgets, readlines, ... + + 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. + + To support efficient text edition capabilities, Zed provides macro recording and cursor management facilities. + ''; + homepage = https://github.com/diml/zed; + license = stdenv.lib.licenses.bsd3; + platforms = ocaml.meta.platforms; + maintainers = [ + stdenv.lib.maintainers.gal_bolle + ]; + }; +} |