summaryrefslogtreecommitdiff
path: root/packages/komodo/qolm.scm
blob: f674b8a083435847f91d61c1cf14d6f4a4e2f194 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
(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)))