gnu: purple-mattermost: Update to 1.2-0.158ce20.
* gnu/packages/messaging.scm (purple-mattermost): Update to commit 158ce20.
This commit is contained in:
parent
679d5e6b3d
commit
13a5d9f9e3
1 changed files with 45 additions and 41 deletions
|
|
@ -350,49 +350,53 @@ access to servers running the Discord protocol.")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public purple-mattermost
|
(define-public purple-mattermost
|
||||||
(package
|
;; The latest release (1.2) only supports Mattermost's /api/v3. Choose a
|
||||||
(name "purple-mattermost")
|
;; commit that supports /api/v4.
|
||||||
(version "1.2")
|
(let ((commit "158ce2052af9aaf3d1f6f045f0cfba276e0e91cf")
|
||||||
(home-page "https://github.com/EionRobb/purple-mattermost")
|
(revision "0"))
|
||||||
(source (origin
|
(package
|
||||||
(method git-fetch)
|
(name "purple-mattermost")
|
||||||
(uri (git-reference (url home-page)
|
(version (git-version "1.2" revision commit))
|
||||||
(commit (string-append "v" version))))
|
(home-page "https://github.com/EionRobb/purple-mattermost")
|
||||||
(file-name (git-file-name name version))
|
(source (origin
|
||||||
(sha256
|
(method git-fetch)
|
||||||
(base32
|
(uri (git-reference (url home-page)
|
||||||
"0fm49iv58l09qpy8vkca3am642fxiwcrrh6ykimyc2mas210b5g2"))))
|
(commit commit)))
|
||||||
(build-system gnu-build-system)
|
(file-name (git-file-name name version))
|
||||||
(arguments
|
(sha256
|
||||||
`(#:phases (modify-phases %standard-phases
|
(base32
|
||||||
(replace 'configure
|
"1481zm20pnfq52ncg7hxayjq8cw3a6yh9m4jm1m5s8chsq04015l"))))
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(build-system gnu-build-system)
|
||||||
;; Adjust the makefile to install files in the right
|
(arguments
|
||||||
;; place.
|
`(#:phases (modify-phases %standard-phases
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(replace 'configure
|
||||||
(substitute* "Makefile"
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(("MATTERMOST_DEST = .*")
|
;; Adjust the makefile to install files in the right
|
||||||
(string-append "MATTERMOST_DEST = " out
|
;; place.
|
||||||
"/lib/purple-2\n")) ;XXX: hardcoded
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(("MATTERMOST_ICONS_DEST = .*")
|
(substitute* "Makefile"
|
||||||
(string-append "MATTERMOST_ICONS_DEST = "
|
(("MATTERMOST_DEST = .*")
|
||||||
out
|
(string-append "MATTERMOST_DEST = " out
|
||||||
"/share/pixmaps/pidgin/protocols\n")))
|
"/lib/purple-2\n")) ;XXX: hardcoded
|
||||||
#t))))
|
(("MATTERMOST_ICONS_DEST = .*")
|
||||||
#:make-flags (list "CC=gcc"
|
(string-append "MATTERMOST_ICONS_DEST = "
|
||||||
,(string-append "PLUGIN_VERSION=" version))
|
out
|
||||||
#:tests? #f))
|
"/share/pixmaps/pidgin/protocols\n")))
|
||||||
(inputs `(("glib" ,glib)
|
#t))))
|
||||||
("json-glib" ,json-glib)
|
#:make-flags (list "CC=gcc"
|
||||||
("discount" ,discount)
|
,(string-append "PLUGIN_VERSION=" version))
|
||||||
("pidgin" ,pidgin)))
|
#:tests? #f))
|
||||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
(inputs `(("glib" ,glib)
|
||||||
(synopsis "Purple plug-in to access Mattermost instant messaging")
|
("json-glib" ,json-glib)
|
||||||
(description
|
("discount" ,discount)
|
||||||
"Purple-Mattermost is a plug-in for Purple, the instant messaging library
|
("pidgin" ,pidgin)))
|
||||||
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||||
|
(synopsis "Purple plug-in to access Mattermost instant messaging")
|
||||||
|
(description
|
||||||
|
"Purple-Mattermost is a plug-in for Purple, the instant messaging library
|
||||||
used by Pidgin and Bitlbee, among others, to access
|
used by Pidgin and Bitlbee, among others, to access
|
||||||
@uref{https://mattermost.com/, Mattermost} servers.")
|
@uref{https://mattermost.com/, Mattermost} servers.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public hexchat
|
(define-public hexchat
|
||||||
(package
|
(package
|
||||||
|
|
|
||||||
Reference in a new issue