Skip to content

Commit 6d1e731

Browse files
authored
lttoolbox: 3.7.1 -> 3.7.6 (#392475)
2 parents f7357cf + aec2593 commit 6d1e731

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

pkgs/by-name/lt/lttoolbox/package.nix

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
stdenv,
44
fetchFromGitHub,
55
fetchpatch,
6+
autoreconfHook,
67
autoconf,
78
automake,
89
pkg-config,
@@ -15,25 +16,17 @@
1516

1617
stdenv.mkDerivation rec {
1718
pname = "lttoolbox";
18-
version = "3.7.1";
19+
version = "3.7.6";
1920

2021
src = fetchFromGitHub {
2122
owner = "apertium";
2223
repo = "lttoolbox";
2324
tag = "v${version}";
24-
hash = "sha256-3lHXKtwQSrMGQEGOGr27e3kB2qKkTFZcEzeAnIm89Rg=";
25+
hash = "sha256-T92TEhrWwPYW8e49rc0jfM0C3dmNYtuexhO/l5s+tQ0=";
2526
};
2627

27-
patches = [
28-
# can be removed once the version goes past this commit
29-
# https://github.com/apertium/lttoolbox/commit/e682fe18a96d5a865cfbd3e5661dbc7b3ace1821
30-
(fetchpatch {
31-
url = "https://github.com/apertium/lttoolbox/commit/e682fe18a96d5a865cfbd3e5661dbc7b3ace1821.patch";
32-
hash = "sha256-VeP8Mv2KYxX+eVjIRw/jHbURaWN665+fiFaoT3VxAno=";
33-
})
34-
];
35-
3628
nativeBuildInputs = [
29+
autoreconfHook
3730
autoconf
3831
automake
3932
pkg-config
@@ -47,12 +40,11 @@ stdenv.mkDerivation rec {
4740
buildFlags = [
4841
"CPPFLAGS=-I${utf8cpp}/include/utf8cpp"
4942
];
50-
configurePhase = ''
51-
./autogen.sh --prefix $out
52-
'';
43+
44+
nativeCheckInputs = [ python3 ];
5345
doCheck = true;
5446
checkPhase = ''
55-
${python3}/bin/python3 tests/run_tests.py
47+
python3 tests/run_tests.py
5648
'';
5749

5850
meta = with lib; {

0 commit comments

Comments
 (0)