summaryrefslogtreecommitdiff
path: root/px
diff options
context:
space:
mode:
authorFranz Geffke <m@f-a.nz>2025-02-26 12:02:56 +0000
committerFranz Geffke <m@f-a.nz>2025-02-26 12:02:56 +0000
commit2d61d956aea49e3fa4d99fb8c443a281aed94f69 (patch)
tree1c1fc3ef7ccfe717876f0820d67e331d6eb05cbd /px
parent826c3135e6c585fe28345b635a2760b028ae82d9 (diff)
px: matrix-client: Use correct inputs
Diffstat (limited to 'px')
-rw-r--r--px/packages/matrix-client.scm21
1 files changed, 11 insertions, 10 deletions
diff --git a/px/packages/matrix-client.scm b/px/packages/matrix-client.scm
index 83d308c..f1650a1 100644
--- a/px/packages/matrix-client.scm
+++ b/px/packages/matrix-client.scm
@@ -207,17 +207,18 @@ notification, emojis, E2E encryption, and voip calls.")
(package
(inherit matrix-client-gui-library)
(name "matrix-client")
- (version "0.1.55")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://source.pantherx.org/" name "_" version
- ".tgz"))
- (sha256
- (base32 "1xl0pxf9j9pqnn7rmq728pwrlwrh7r7xa5wh5fd21y06i9blb9bd"))))
- (build-system qt-build-system)
(arguments
- `(#:tests? #f))
+ `(#:tests? #f ;no tests
+ #:phases (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "MatrixClientApp.pro"
+ (("/usr")
+ (assoc-ref outputs "out")))
+ (substitute* "configurations/configurations.pri"
+ (("/usr")
+ (assoc-ref outputs "out")))
+ (invoke "qmake" "MatrixClientApp.pro"))))))
(inputs `(("matrix-client-gui-library" ,matrix-client-gui-library)
,@(package-inputs matrix-client-gui-library)))))