| (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+)))
|