Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 27 lines 564 B view raw
1{ lib, fetchFromGitHub, buildDunePackage 2, seq 3, stdlib-shims 4}: 5 6buildDunePackage rec { 7 pname = "spelll"; 8 version = "0.4"; 9 10 duneVersion = "3"; 11 12 src = fetchFromGitHub { 13 owner = "c-cube"; 14 repo = pname; 15 rev = "v${version}"; 16 hash = "sha256-nI8fdArYynR70PUJIgyogGBCe4gFhfVzuRdZzFGKqOc="; 17 }; 18 19 propagatedBuildInputs = [ seq stdlib-shims ]; 20 21 meta = { 22 inherit (src.meta) homepage; 23 description = "Fuzzy string searching, using Levenshtein automaton"; 24 license = lib.licenses.bsd2; 25 maintainers = [ lib.maintainers.vbgl ]; 26 }; 27}