nixpkgs/pkgs/development/ocaml-modules/spelll/default.nix
2023-03-14 08:38:50 +01:00

28 lines
564 B
Nix

{ lib, fetchFromGitHub, buildDunePackage
, seq
, stdlib-shims
}:
buildDunePackage rec {
pname = "spelll";
version = "0.4";
duneVersion = "3";
src = fetchFromGitHub {
owner = "c-cube";
repo = pname;
rev = "v${version}";
hash = "sha256-nI8fdArYynR70PUJIgyogGBCe4gFhfVzuRdZzFGKqOc=";
};
propagatedBuildInputs = [ seq stdlib-shims ];
meta = {
inherit (src.meta) homepage;
description = "Fuzzy string searching, using Levenshtein automaton";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
}