@@ -1998,10 +1998,10 @@ (define-public solid
(inputs
(list qtbase-5 qtdeclarative-5 eudev))))
-(define-public sonnet
+(define-public sonnet-6
(package
(name "sonnet")
- (version "5.114.0")
+ (version "6.1.0")
(source (origin
(method url-fetch)
(uri (string-append
@@ -2010,16 +2010,15 @@ (define-public sonnet
name "-" version ".tar.xz"))
(sha256
(base32
- "0zxi96i3gfpx759qc1nyz7jqlswg5ivgr1w9gbbsm1x5fi9ikadx"))))
+ "1zpbla0d22sd66vgi6kiqsh8mkck6fklllh8pckx0kxc4r4fng61"))))
(build-system qt-build-system)
+ (arguments (list #:qtbase qtbase))
(native-inputs
- (list extra-cmake-modules pkg-config qttools-5))
+ (list extra-cmake-modules pkg-config qttools))
(inputs
- (list aspell
- hunspell
+ (list aspell hunspell
;; TODO: hspell (for Hebrew), Voikko (for Finish)
- qtdeclarative-5
- qtbase-5))
+ qtdeclarative))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Multi-language spell checker")
(description "Sonnet is a plugin-based spell checking library for Qt-based
@@ -2027,6 +2026,28 @@ (define-public sonnet
ASpell and HUNSPELL.")
(license license:lgpl2.1+)))
+(define-public sonnet
+ (package
+ (inherit sonnet-6)
+ (name "sonnet")
+ (version "5.114.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kde/stable/frameworks/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0zxi96i3gfpx759qc1nyz7jqlswg5ivgr1w9gbbsm1x5fi9ikadx"))))
+ (arguments '())
+ (native-inputs
+ (list extra-cmake-modules pkg-config qttools-5))
+ (inputs
+ (list aspell
+ hunspell
+ qtdeclarative-5))))
+
(define-public threadweaver
(package
(name "threadweaver")