1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 ;;; Copyright © 2019 Jesse Gibbons <jgibbons2357+guix@gmail.com>
5 ;;; This file is part of GNU Guix.
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
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))
28 (define-public cvassistant
34 (uri (string-append "mirror://sourceforge/cvassistant/"
35 "cvassistant-" version "-src.tar.bz2"))
38 "1y2680bazyiwm50gdhdd4982ckbjscrkbw2mngyk7yw708iadvr7"))))
39 (build-system gnu-build-system)
42 (modify-phases %standard-phases
43 (add-after 'unpack 'remove-donation-banner
44 ;; Remove dialog box with a donation link, as suggested by
47 (substitute* "controllers/mainwindow.cpp"
48 (("//(#define NO_DONATION_PROMPT)" _ line) line))
50 (add-after 'unpack 'fix-quazip-directory
52 (substitute* "models/resumedocument.h"
53 (("quazip(/quazipfile\\.h)" _ suffix)
54 (string-append "quazip5" suffix)))
56 (add-after 'fix-quazip-directory 'fix-quazip-link
58 (substitute* "CVAssistant.pro"
62 (add-after 'fix-quazip-directory 'fix-install-root
63 (lambda* (#:key outputs #:allow-other-keys)
64 (let ((out (assoc-ref outputs "out")))
65 (substitute* "CVAssistant.pro"
66 (("/usr/(bin|share/)" _ suffix)
67 (string-append out "/" suffix)))
70 (lambda _ (invoke "qmake"))))))
75 (home-page "https://cvassistant.sourceforge.io/")
76 (synopsis "Job application organizer")
77 (description "Whether you're looking for a job or trying to help
78 a friend to find one, CVAssistant is a tool for you. It helps you by
79 preparing resumes and cover letters and organizing your job
80 application process. It:
82 @item Stores all your skills and experiences.
83 @item Creates resumes tailored for each job you apply.
84 @item Creates cover letters summarized to match each job
86 @item Keeps a history of job applications so you are ready when you
88 @item Writes resumes in your language. All languages are supported!
90 (license license:gpl3+)))