Files
nixpkgs/pkgs/development/libraries/qtspell/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

55 lines
1.0 KiB
Nix

{
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;
};
}