2019-10-10 08:23:46 +02:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage
|
|
|
|
, seq
|
2023-03-14 08:38:50 +01:00
|
|
|
, stdlib-shims
|
2019-10-10 08:23:46 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "spelll";
|
2023-03-14 08:38:50 +01:00
|
|
|
version = "0.4";
|
2019-10-10 08:23:46 +02:00
|
|
|
|
2023-03-14 08:38:50 +01:00
|
|
|
duneVersion = "3";
|
2021-03-29 22:05:45 +02:00
|
|
|
|
2019-10-10 08:23:46 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "c-cube";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-03-14 08:38:50 +01:00
|
|
|
hash = "sha256-nI8fdArYynR70PUJIgyogGBCe4gFhfVzuRdZzFGKqOc=";
|
2019-10-10 08:23:46 +02:00
|
|
|
};
|
|
|
|
|
2023-03-14 08:38:50 +01:00
|
|
|
propagatedBuildInputs = [ seq stdlib-shims ];
|
2019-10-10 08:23:46 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Fuzzy string searching, using Levenshtein automaton";
|
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|