diff options
Diffstat (limited to 'packages/komodo')
-rw-r--r-- | packages/komodo/qtgeneratorcmake.scm | 73 |
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))) |