summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-26 02:08:20 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-26 02:08:20 +0100
commit799691beac9692ba5928075b4a6ec5f06dfb3988 (patch)
tree761264cabf971d5e825112ecf985161f895816ee /packages
parent5f6fcb633b5b907694545722ca6327aa9f114645 (diff)
qtgeneratorcmake: implement package definition: dependency of qaterial, needed for komodo
Diffstat (limited to 'packages')
-rw-r--r--packages/komodo/qtgeneratorcmake.scm73
1 files changed, 73 insertions, 0 deletions
diff --git a/packages/komodo/qtgeneratorcmake.scm b/packages/komodo/qtgeneratorcmake.scm
new file mode 100644
index 0000000..c30dd8e
--- /dev/null
+++ b/packages/komodo/qtgeneratorcmake.scm
@@ -0,0 +1,73 @@
+(define-module (qtgeneratorcmake)
+ #:use-module (guix build-system cmake)
+ #:use-module (guix git-download)
+ #:use-module ((guix licenses)
+ #:prefix license:)
+ #:use-module (guix packages))
+
+;; DATA LAYER
+
+(define hash
+ (base32 "129ryyww6wd06ni4f7kcf91qr7a7fpc58kic4cvvgyczfrgswgd2"))
+
+(define name
+ "qtgeneratorcmake")
+
+(define description
+ (string-append "Collection of CMake function to generate qrc, qmldir files "
+ "for qt applications."))
+
+(define home-page
+ "https://github.com/OlivierLDff/QtGeneratorCMake")
+
+(define synopsis
+ (string-append "Collection of CMake function to generate qrc, qmldir files "
+ "for qt applications."))
+
+(define tests?
+ #f)
+
+(define url
+ "https://github.com/OlivierLDff/QtGeneratorCMake.git")
+
+(define version
+ "v1.0.0")
+
+;; ABSTRACTION LAYER -2
+
+(define delete-install
+ '(delete 'install))
+
+;; ABSTRACTION LAYER -1
+
+(define phases
+ `(modify-phases %standard-phases
+ ,delete-install))
+
+(define uri
+ (git-reference (url url)
+ (commit version)))
+
+;; ABSTRACTION LAYER -0
+
+(define arguments
+ (list #:phases phases
+ #:tests? tests?))
+
+(define source
+ (origin (uri uri)
+ (method git-fetch)
+ (sha256 hash)))
+
+;; SURFACE LAYER
+
+(define-public qtgeneratorcmake
+ (package (name name)
+ (version version)
+ (source source)
+ (build-system cmake-build-system)
+ (arguments arguments)
+ (synopsis synopsis)
+ (description description)
+ (license license:expat)
+ (home-page home-page)))