mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
28 lines
564 B
Nix
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 ];
|
|
};
|
|
}
|