diff options
| author | Andrew Wong <wongandj@runbox.com> | 2026-06-10 05:08:40 -0400 |
|---|---|---|
| committer | Nguyễn Gia Phong <cnx@loang.net> | 2026-06-19 11:20:27 +0900 |
| commit | 31269718b43dc76cdaa0b19cd58acf0d27702fea (patch) | |
| tree | c1fd8cbafa9894f860c45cf87ab97ce194e98a07 /gnu/packages | |
| parent | 702155b42e1ad174cd02122e7e1b33e27eebfafe (diff) | |
gnu: Add qalculate-qt.
* gnu/packages/maths.scm (qalculate-qt): New variable.
Merges: https://codeberg.org/guix/guix/pulls/9209
Reviewed-by: bdunahu <bdunahu@operationnull.com>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/maths.scm | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 9c6ccf07628..e341418e30c 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm | |||
| @@ -10397,6 +10397,51 @@ include: | |||
| 10397 | multi-purpose calculator.") | 10397 | multi-purpose calculator.") |
| 10398 | (license license:gpl2+))) | 10398 | (license license:gpl2+))) |
| 10399 | 10399 | ||
| 10400 | (define-public qalculate-qt | ||
| 10401 | (package | ||
| 10402 | (name "qalculate-qt") | ||
| 10403 | (version "5.11.0") | ||
| 10404 | (source | ||
| 10405 | (origin | ||
| 10406 | (method git-fetch) | ||
| 10407 | (uri (git-reference | ||
| 10408 | (url "https://github.com/Qalculate/qalculate-qt") | ||
| 10409 | (commit (string-append "v" version)))) | ||
| 10410 | (file-name (git-file-name name version)) | ||
| 10411 | (sha256 | ||
| 10412 | (base32 "1gy344widrbmvfk9v8yx349afiqqyfmm12cajhf99v74kw1xivz6")))) | ||
| 10413 | (build-system gnu-build-system) | ||
| 10414 | (arguments | ||
| 10415 | (list #:tests? #f ; There are no tests. | ||
| 10416 | #:imported-modules | ||
| 10417 | `(,@%default-gnu-imported-modules ,@%qt-build-system-modules) | ||
| 10418 | #:phases | ||
| 10419 | #~(modify-phases %standard-phases | ||
| 10420 | (replace 'configure | ||
| 10421 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 10422 | (substitute* "qalculate-qt.pro" | ||
| 10423 | (("/usr/local") #$output) | ||
| 10424 | (("\\$\\$LRELEASE") | ||
| 10425 | (string-append | ||
| 10426 | (search-input-file inputs "bin/lrelease")))) | ||
| 10427 | (invoke "qmake"))) | ||
| 10428 | (add-after 'install 'qt-wrap | ||
| 10429 | (lambda args | ||
| 10430 | (apply (assoc-ref | ||
| 10431 | (@ (guix build qt-build-system) %standard-phases) | ||
| 10432 | 'qt-wrap) | ||
| 10433 | #:qtbase #$(this-package-input "qtbase") args)))))) | ||
| 10434 | (native-inputs (list pkg-config qttools)) | ||
| 10435 | (inputs (list gmp | ||
| 10436 | libqalculate | ||
| 10437 | mpfr | ||
| 10438 | qtbase)) | ||
| 10439 | (home-page "https://qalculate.github.io") | ||
| 10440 | (synopsis "Qalculate! desktop calculator (Qt interface)") | ||
| 10441 | (description "@code{qalculate-qt} is the Qt frontend for the Qalculate! | ||
| 10442 | multi-purpose calculator.") | ||
| 10443 | (license license:gpl2+))) | ||
| 10444 | |||
| 10400 | (define-public numdiff | 10445 | (define-public numdiff |
| 10401 | (package | 10446 | (package |
| 10402 | (name "numdiff") | 10447 | (name "numdiff") |
