gnu: Add qtcolorwidgets.

* gnu/packages/qt.scm (qtcolorwidgets): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
Pkill -9 2019-02-17 09:42:28 +00:00 committed by Ricardo Wurmus
parent 451a5ae9ba
commit b16640ac03
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2232,3 +2232,33 @@ (define-public dotherside
@item Creating from Singleton QML QObject defined in the binded language
@end itemize\n")
(license license:lgpl3))) ;version 3 only (+ exception)
;; There have been no public releases yet.
(define-public qtcolorwidgets
(let ((commit "a95f72e935fe9e046061a1d1c3930cbfbcb533e0")
(revision "1"))
(package
(name "qtcolorwidgets")
(version (git-version "0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.com/mattia.basaglia/Qt-Color-Widgets")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0dkiwlqh2gwhlp78c1fmchj3shl4p9inspcl96ya5aa8mn6kydy8"))))
(build-system cmake-build-system)
(arguments `(#:tests? #f)) ; There are no tests
(native-inputs
`(("qttools" ,qttools)))
(inputs
`(("qtbase" ,qtbase)))
(home-page "https://gitlab.com/mattia.basaglia/Qt-Color-Widgets")
(synopsis "Color management widgets")
(description "QtColorWidgets provides a Qt color dialog that is more
user-friendly than the default @code{QColorDialog} and several other
color-related widgets.")
;; Includes a license exception for combining with GPL2 code.
(license license:lgpl3+))))