depot/third_party/nixpkgs/pkgs/development/nim-packages/segmentation/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

19 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 ];
};
})