| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 |
|
| 20 | (define-module (gnu packages cvassistant)
|
| 21 | #:use-module (guix packages)
|
| 22 | #:use-module (guix download)
|
| 23 | #:use-module (guix build-system gnu)
|
| 24 | #:use-module ((guix licenses) #:prefix license:)
|
| 25 | #:use-module (gnu packages qt)
|
| 26 | #:use-module (gnu packages compression))
|
| 27 |
|
| 28 | (define-public cvassistant
|
| 29 | (package
|
| 30 | (name "cvassistant")
|
| 31 | (version "3.1.0")
|
| 32 | (source (origin
|
| 33 | (method url-fetch)
|
| 34 | (uri (string-append "mirror://sourceforge/cvassistant/"
|
| 35 | "cvassistant-" version "-src.tar.bz2"))
|
| 36 | (sha256
|
| 37 | (base32
|
| 38 | "1y2680bazyiwm50gdhdd4982ckbjscrkbw2mngyk7yw708iadvr7"))))
|
| 39 | (build-system gnu-build-system)
|
| 40 | (arguments
|
| 41 | `(#:phases
|
| 42 | (modify-phases %standard-phases
|
| 43 | (add-after 'unpack 'remove-donation-banner
|
| 44 | |
| 45 | |
| 46 | (lambda _
|
| 47 | (substitute* "controllers/mainwindow.cpp"
|
| 48 | (("//(#define NO_DONATION_PROMPT)" _ line) line))))
|
| 49 | (add-after 'unpack 'fix-quazip
|
| 50 | (lambda* (#:key inputs #:allow-other-keys)
|
| 51 | (let ((quazip
|
| 52 | (search-input-directory inputs "/include/QuaZip-Qt5-1.5")))
|
| 53 |
|
| 54 | (substitute* "CVAssistant.pro"
|
| 55 | (("-lquazip-qt5")
|
| 56 | (format #f "-lquazip1-qt5~%INCLUDEPATH += ~a~%" quazip))))))
|
| 57 | (add-after 'fix-quazip 'fix-install-root
|
| 58 | (lambda* (#:key outputs #:allow-other-keys)
|
| 59 | (let ((out (assoc-ref outputs "out")))
|
| 60 | (substitute* "CVAssistant.pro"
|
| 61 | (("/usr/(bin|share/)" _ suffix)
|
| 62 | (string-append out "/" suffix))))))
|
| 63 | (replace 'configure
|
| 64 | (lambda _ (invoke "qmake"))))))
|
| 65 | (inputs
|
| 66 | (list qtbase-5 quazip-5 zlib))
|
| 67 | (home-page "https://cvassistant.sourceforge.io/")
|
| 68 | (synopsis "Job application organizer")
|
| 69 | (description "Whether you're looking for a job or trying to help
|
| 70 | a friend to find one, CVAssistant is a tool for you. It helps you by
|
| 71 | preparing resumes and cover letters and organizing your job
|
| 72 | application process. It:
|
| 73 | @itemize
|
| 74 | @item Stores all your skills and experiences.
|
| 75 | @item Creates resumes tailored for each job you apply.
|
| 76 | @item Creates cover letters summarized to match each job
|
| 77 | advertisement.
|
| 78 | @item Keeps a history of job applications so you are ready when you
|
| 79 | receive a phone call.
|
| 80 | @item Writes resumes in your language. All languages are supported!
|
| 81 | @end itemize")
|
| 82 | (license license:gpl3+)))
|