tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nimPackages.segmentation: do check
Emery Hemingway
2 years ago
6afa4f43
83ecef02
+18
-7
1 changed file
expand all
collapse all
unified
split
pkgs
development
nim-packages
segmentation
default.nix
+18
-7
pkgs/development/nim-packages/segmentation/default.nix
···
1
1
-
{ fetchFromGitHub }:
1
1
+
{ lib, buildNimPackage, fetchFromGitHub, unicodedb }:
2
2
3
3
-
fetchFromGitHub {
4
4
-
owner = "nitely";
5
5
-
repo = "nim-segmentation";
6
6
-
rev = "v0.1.0";
7
7
-
sha256 = "007bkx8dwy8n340zbp6wyqfsq9bh6q5ykav1ywdlwykyp1n909bh";
8
8
-
}
3
3
+
buildNimPackage (finalAttrs: {
4
4
+
pname = "segmentation";
5
5
+
version = "0.1.0";
6
6
+
src = fetchFromGitHub {
7
7
+
owner = "nitely";
8
8
+
repo = "nim-segmentation";
9
9
+
rev = "v${finalAttrs.version}";
10
10
+
sha256 = "007bkx8dwy8n340zbp6wyqfsq9bh6q5ykav1ywdlwykyp1n909bh";
11
11
+
};
12
12
+
propagatedBuildInputs = [ unicodedb ];
13
13
+
meta = finalAttrs.src.meta // {
14
14
+
description = "Unicode text segmentation (tr29)";
15
15
+
homepage = "https://github.com/nitely/nim-segmentation";
16
16
+
license = lib.licenses.mit;
17
17
+
maintainers = with lib.maintainers; [ ehmry ];
18
18
+
};
19
19
+
})