* gnu/packages/qt.scm (fluid): New variable. --- gnu/packages/qt.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 41aa10291..e180f9cf6 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -46,6 +46,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) + #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages linux) #:use-module (gnu packages databases) #:use-module (gnu packages pciutils) @@ -1347,3 +1348,38 @@ a binding language: @item Creating from Singleton QML QObject defined in the binded language @end itemize\n") (license license:lgpl3))) + +(define-public fluid + (package + (name "fluid") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lirios/fluid/releases/download/" + "v" version "/" name "-" version ".tar.xz")) + (file-name (string-append name "-" version ".tar.xz")) + (sha256 + (base32 + "0m6mijlnizgvmh0z2wcrmkfl5cdrylxz3d7bqii8dasmm0q8f68y")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; XXX: The tests do not find the fluid module. + #:phases + (modify-phases %standard-phases + (add-before 'build 'setenv + (lambda _ + (setenv "QT_QPA_PLATFORM" "offscreen")))))) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("qtbase" ,qtbase) + ("qtdeclarative" ,qtdeclarative) + ("qtsvg" ,qtsvg) + ("qtquickcontrols2" ,qtquickcontrols2))) + (home-page "https://github.com/lirios/fluid") + (synopsis "Library for QtQuick applications") + (description + "Fluid is a collection of cross-platform QtQuick components for +building fluid and dynamic applications.") + (license license:mpl2.0))) -- 2.11.0