New paste Repaste Download
(define-public qalculate-qt
  (package
    (name "qalculate-qt")
    (version "5.11.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/Qalculate/qalculate-qt")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1gy344widrbmvfk9v8yx349afiqqyfmm12cajhf99v74kw1xivz6"))))
    (build-system gnu-build-system)
    (native-inputs (list qtbase
                         qttools))
    (inputs (list libqalculate
                  qtbase))
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (replace 'configure
                 (lambda* (#:rest args)
                   (substitute* "qalculate-qt.pro"
                     (("^LANGUAGES.*$" all)
                      (string-append
                       "LRELEASE = " #$qttools "/bin/lrelease"
                       "\n" all)))
                   (invoke "qmake"))))))
    (home-page "https://qalculate.github.io")
    (synopsis "Qt UI for Qalculate")
    (description "")
    (license license:gpl2+)))
Filename: None. Size: 1kb. View raw, , hex, or download this file.

This paste expires on 2026-06-17 03:21:59.145228+00:00. Pasted through web.