blob: 3852379614680634a5fc40fa9bd15616ec7abdf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{
lib,
stdenv,
fetchFromGitHub,
cmake,
doxygen,
enchant,
glib,
llvmPackages,
pkg-config,
qtbase,
qttools,
}:
stdenv.mkDerivation rec {
pname = "qtspell";
version = "1.0.2";
src = fetchFromGitHub {
owner = "manisandro";
repo = "qtspell";
rev = "${version}";
hash = "sha256-OuEGY+0XJo3EUUcH8xAzlgE6zKPndBvG0arWhG/QO6Y=";
};
nativeBuildInputs = [
cmake
doxygen
pkg-config
qttools
];
buildInputs = [
enchant
qtbase
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
glib
llvmPackages.clang
];
cmakeFlags = [ "-DQT_VER=6" ];
dontWrapQtApps = true;
meta = {
description = "Provides spell-checking to Qt's text widgets, using the enchant spell-checking library";
homepage = "https://github.com/manisandro/qtspell";
changelog = "https://github.com/manisandro/qtspell/blob/${version}/NEWS";
maintainers = with lib.maintainers; [ dansbandit ];
license = lib.licenses.gpl3Only;
platforms = lib.platforms.all;
};
}
|