nixpkgs/pkgs/development/nim-packages/segmentation/default.nix
2023-08-02 11:20:26 +01:00

20 lines
603 B
Nix

{ lib, buildNimPackage, fetchFromGitHub, unicodedb }:
buildNimPackage (finalAttrs: {
pname = "segmentation";
version = "0.1.0";
src = fetchFromGitHub {
owner = "nitely";
repo = "nim-segmentation";
rev = "v${finalAttrs.version}";
sha256 = "007bkx8dwy8n340zbp6wyqfsq9bh6q5ykav1ywdlwykyp1n909bh";
};
propagatedBuildInputs = [ unicodedb ];
meta = finalAttrs.src.meta // {
description = "Unicode text segmentation (tr29)";
homepage = "https://github.com/nitely/nim-segmentation";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ehmry ];
};
})