qt6Packages.qtspell: init at 1.0.1

This commit is contained in:
dansbandit
2024-12-03 18:06:08 +01:00
parent f32410348d
commit 142346385c
2 changed files with 57 additions and 0 deletions
@@ -0,0 +1,55 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
doxygen,
enchant,
glib,
llvmPackages,
pkg-config,
qtbase,
qttools,
}:
stdenv.mkDerivation rec {
pname = "qtspell";
version = "1.0.1";
src = fetchFromGitHub {
owner = "manisandro";
repo = "qtspell";
rev = "${version}";
hash = "sha256-yaR3eCUbK2KTpvzO2G5sr+NEJ2mDnzJzzzwlU780zqU=";
};
nativeBuildInputs = [
cmake
doxygen
pkg-config
qttools
];
buildInputs =
[
enchant
qtbase
]
++ lib.optionals stdenv.isDarwin [
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;
};
}
+2
View File
@@ -90,6 +90,8 @@ makeScopeWithSplicing' {
qscintilla = callPackage ../development/libraries/qscintilla { };
qtspell = callPackage ../development/libraries/qtspell { };
qwlroots = callPackage ../development/libraries/qwlroots {
wlroots = pkgs.wlroots_0_17;
};