tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
hfst-ospell: init at 0.5.3
Jussi Kuokkanen
2 years ago
67424e70
b02e3765
+48
-2
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
hfst-ospell
default.nix
top-level
all-packages.nix
+46
pkgs/development/libraries/hfst-ospell/default.nix
···
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, autoreconfHook
4
4
+
, fetchFromGitHub
5
5
+
, icu
6
6
+
, libarchive
7
7
+
, pkg-config
8
8
+
}:
9
9
+
10
10
+
stdenv.mkDerivation (finalAttrs: {
11
11
+
pname = "hfst-ospell";
12
12
+
version = "0.5.3";
13
13
+
14
14
+
src = fetchFromGitHub {
15
15
+
owner = "hfst";
16
16
+
repo = "hfst-ospell";
17
17
+
rev = "refs/tags/v${finalAttrs.version}";
18
18
+
hash = "sha256-16H1nbAIe+G71+TnlLG0WnH9LktZwmc0d0O+oYduH1k=";
19
19
+
};
20
20
+
21
21
+
buildInputs = [
22
22
+
icu
23
23
+
libarchive
24
24
+
];
25
25
+
26
26
+
nativeBuildInputs = [
27
27
+
autoreconfHook
28
28
+
pkg-config
29
29
+
];
30
30
+
31
31
+
# libxmlxx is listed as a dependency but Darwin build fails with it,
32
32
+
# might also be better in general since libxmlxx in Nixpkgs is 8 years old
33
33
+
# https://github.com/hfst/hfst-ospell/issues/48#issuecomment-546535653
34
34
+
configureFlags = [
35
35
+
"--without-libxmlpp"
36
36
+
"--without-tinyxml2"
37
37
+
];
38
38
+
39
39
+
meta = with lib; {
40
40
+
homepage = "https://github.com/hfst/hfst-ospell/";
41
41
+
description = "HFST spell checker library and command line tool ";
42
42
+
license = licenses.asl20;
43
43
+
maintainers = with maintainers; [ lurkki ];
44
44
+
platforms = platforms.unix;
45
45
+
};
46
46
+
})
+2
-2
pkgs/top-level/all-packages.nix
···
41288
41288
41289
41289
hfst = callPackage ../development/libraries/hfst { };
41290
41290
41291
41291
-
hfst-ospell = callPackage ../applications/misc/hfst-ospell { };
41292
41292
-
41293
41291
omorfi = callPackage ../applications/misc/omorfi { };
41292
41292
+
41293
41293
+
hfst-ospell = callPackage ../development/libraries/hfst-ospell { };
41294
41294
}