(define-module (packages komodo qolm) #:use-module (gnu packages qt) #:use-module (guix build-system cmake) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages)) ;; DATA LAYER (define description (string-append "qolm::QOlm object based on QAbstractListModel that provide a " "list of QObject based class to qml and c++. The model " "dynamically update views by reacting to insert, remove, move " "operations.")) (define hash (base32 "1rxw6lwv3gbgscnlz7njrs8yd21svqq0qpwiggnyrlbk5j85n7d7")) (define home-page "https://olivierldff.github.io/QOlm/") (define inputs (list qtbase-5 qtdeclarative-5)) (define name "qolm") (define synopsis "🧱 QAbstractListModel subclass that provide List of QObject to C++ and Qml.") (define tests? #f) (define url "https://github.com/OlivierLDff/QOlm.git") (define version "v3.2.1") ;; ABSTRACTION LAYER -1 (define uri (git-reference (url url) (commit version))) ;; ABSTRACTION LAYER -0 (define arguments (list #:tests? tests?)) (define source (origin (uri uri) (method git-fetch) (sha256 hash))) ;; SURFACE LAYER (define-public qolm (package (name name) (version version) (source source) (build-system cmake-build-system) (arguments arguments) (inputs inputs) (synopsis synopsis) (description description) (license license:expat) (home-page home-page)))