nimPackages.segmentation: do check
This commit is contained in:
parent
83ecef0234
commit
6afa4f43be
1 changed files with 18 additions and 7 deletions
|
@ -1,8 +1,19 @@
|
|||
{ fetchFromGitHub }:
|
||||
{ lib, buildNimPackage, fetchFromGitHub, unicodedb }:
|
||||
|
||||
fetchFromGitHub {
|
||||
owner = "nitely";
|
||||
repo = "nim-segmentation";
|
||||
rev = "v0.1.0";
|
||||
sha256 = "007bkx8dwy8n340zbp6wyqfsq9bh6q5ykav1ywdlwykyp1n909bh";
|
||||
}
|
||||
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 ];
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue