Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7885eeaffdbd
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7264e96053d8
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Oct 17, 2019

  1. 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
    vbgl committed Oct 17, 2019
    Copy the full SHA
    7264e96 View commit details
Showing with 26 additions and 0 deletions.
  1. +24 −0 pkgs/development/ocaml-modules/spelll/default.nix
  2. +2 −0 pkgs/top-level/ocaml-packages.nix
24 changes: 24 additions & 0 deletions pkgs/development/ocaml-modules/spelll/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
@@ -743,6 +743,8 @@ let

sedlex = callPackage ../development/ocaml-modules/sedlex { };

spelll = callPackage ../development/ocaml-modules/spelll { };

sqlite3EZ = callPackage ../development/ocaml-modules/sqlite3EZ { };

ssl = callPackage ../development/ocaml-modules/ssl { };