| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 |
|
| 21 | (define-module (gnu packages pumpio)
|
| 22 | #:use-module (guix licenses)
|
| 23 | #:use-module (guix packages)
|
| 24 | #:use-module (guix download)
|
| 25 | #:use-module (guix git-download)
|
| 26 | #:use-module (guix build-system gnu)
|
| 27 | #:use-module (gnu packages aspell)
|
| 28 | #:use-module (gnu packages qt)
|
| 29 | #:use-module (gnu packages web))
|
| 30 |
|
| 31 | (define-public pumpa
|
| 32 | (package
|
| 33 | (name "pumpa")
|
| 34 | (version "0.9.3")
|
| 35 | (source (origin
|
| 36 | (method git-fetch) |
| 37 | (uri (git-reference
|
| 38 | (url "https://source.pumpa.branchable.com/")
|
| 39 | (commit (string-append "v" version))))
|
| 40 | (sha256
|
| 41 | (base32
|
| 42 | "14072vis539zjgryjr5a77j2cprxii5znyg3p01qbb11lijk9nj7"))
|
| 43 | (file-name (string-append name "-" version "-checkout"))))
|
| 44 | (build-system gnu-build-system)
|
| 45 | (arguments
|
| 46 | '(#:phases
|
| 47 | (modify-phases %standard-phases
|
| 48 | (replace 'configure
|
| 49 | (lambda* (#:key inputs outputs #:allow-other-keys)
|
| 50 | (substitute* "src/util.cpp"
|
| 51 | (("buffio\\.h") "tidybuffio.h"))
|
| 52 | |
| 53 | (substitute* "pumpa.pro"
|
| 54 | (("/usr/include/tidy\\.h")
|
| 55 | (search-input-file inputs "/include/tidy.h"))
|
| 56 | (("/usr/include/aspell.h")
|
| 57 | (search-input-file inputs "/include/aspell.h")))
|
| 58 | |
| 59 | (let ((prefix (string-append "PREFIX="
|
| 60 | (assoc-ref outputs "out"))))
|
| 61 | (invoke "qmake" prefix))
|
| 62 | #t)))))
|
| 63 | (inputs
|
| 64 | (list aspell qtbase-5 tidy-html))
|
| 65 | (synopsis "Qt-based pump.io client")
|
| 66 | (description "Pumpa is a simple pump.io client written in C++ and Qt.")
|
| 67 | (home-page "https://pumpa.branchable.com/")
|
| 68 | (license gpl3+)))
|