about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-10-10 06:23:46 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2019-10-17 05:50:26 +0000
commit7264e96053d857bf9e9b78b38f29cfb261a7ec3a (patch)
treec8e8701546df8ac5a2772103d685d6927552cf59 /pkgs/development/ocaml-modules
parent7885eeaffdbd02ff6ce5483239fba1a063b314a9 (diff)
downloadnixlib-7264e96053d857bf9e9b78b38f29cfb261a7ec3a.tar
nixlib-7264e96053d857bf9e9b78b38f29cfb261a7ec3a.tar.gz
nixlib-7264e96053d857bf9e9b78b38f29cfb261a7ec3a.tar.bz2
nixlib-7264e96053d857bf9e9b78b38f29cfb261a7ec3a.tar.lz
nixlib-7264e96053d857bf9e9b78b38f29cfb261a7ec3a.tar.xz
nixlib-7264e96053d857bf9e9b78b38f29cfb261a7ec3a.tar.zst
nixlib-7264e96053d857bf9e9b78b38f29cfb261a7ec3a.zip
ocamlPackages.spelll: init at 0.3
Fuzzy string searching, using Levenshtein automaton. Can be used for
spell-checking.

Homepage: https://github.com/c-cube/spelll
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/spelll/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/spelll/default.nix b/pkgs/development/ocaml-modules/spelll/default.nix
new file mode 100644
index 000000000000..5901dcb896ac
--- /dev/null
+++ b/pkgs/development/ocaml-modules/spelll/default.nix
@@ -0,0 +1,24 @@
+{ lib, fetchFromGitHub, buildDunePackage
+, seq
+}:
+
+buildDunePackage rec {
+  pname = "spelll";
+  version = "0.3";
+
+  src = fetchFromGitHub {
+    owner = "c-cube";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "03adqisgsazsxdkrypp05k3g91hydfgcif2014il63gdbd9nhzlh";
+  };
+
+  propagatedBuildInputs = [ seq ];
+
+  meta = {
+    inherit (src.meta) homepage;
+    description = "Fuzzy string searching, using Levenshtein automaton";
+    license = lib.licenses.bsd2;
+    maintainers = [ lib.maintainers.vbgl ];
+  };
+}