Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
1.0 KiB
Nix
Raw Normal View History

2023-09-30 06:24:06 +02:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
doxygen,
enchant,
glib,
llvmPackages,
pkg-config,
qtbase,
qttools,
}:
stdenv.mkDerivation rec {
pname = "qtspell";
2025-07-17 19:47:14 +00:00
version = "1.0.2";
2023-09-30 06:24:06 +02:00
src = fetchFromGitHub {
owner = "manisandro";
repo = "qtspell";
rev = "${version}";
2025-07-17 19:47:14 +00:00
hash = "sha256-OuEGY+0XJo3EUUcH8xAzlgE6zKPndBvG0arWhG/QO6Y=";
2023-09-30 06:24:06 +02:00
};
nativeBuildInputs = [
cmake
doxygen
pkg-config
qttools
];
buildInputs = [
enchant
qtbase
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
2023-09-30 06:24:06 +02:00
glib
llvmPackages.clang
];
cmakeFlags = [ "-DQT_VER=6" ];
dontWrapQtApps = true;
meta = with lib; {
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 maintainers; [ dansbandit ];
license = licenses.gpl3Only;
platforms = platforms.all;
};
}