You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
3.6 KiB

;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Nicolas Goaziou <>
;;; Copyright © 2019 Jesse Gibbons <>
;;; This file is part of GNU Guix.
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; GNU General Public License for more details.
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <>.
(define-module (gnu packages cvassistant)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages qt)
#:use-module (gnu packages compression))
(define-public cvassistant
(name "cvassistant")
(version "3.1.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/cvassistant/"
"cvassistant-" version "-src.tar.bz2"))
(build-system gnu-build-system)
(modify-phases %standard-phases
(add-after 'unpack 'remove-donation-banner
;; Remove dialog box with a donation link, as suggested by
;; the INSTALL file.
(lambda _
(substitute* "controllers/mainwindow.cpp"
(("//(#define NO_DONATION_PROMPT)" _ line) line))
(add-after 'unpack 'fix-quazip-directory
(lambda _
(substitute* "models/resumedocument.h"
(("quazip(/quazipfile\\.h)" _ suffix)
(string-append "quazip5" suffix)))
(add-after 'fix-quazip-directory 'fix-quazip-link
(lambda _
(substitute* ""
(add-after 'fix-quazip-directory 'fix-install-root
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(substitute* ""
(("/usr/(bin|share/)" _ suffix)
(string-append out "/" suffix)))
(replace 'configure
(lambda _ (invoke "qmake"))))))
`(("qtbase" ,qtbase)
("quazip" ,quazip)
("zlib" ,zlib)))
(home-page "")
(synopsis "Job application organizer")
(description "Whether you're looking for a job or trying to help
a friend to find one, CVAssistant is a tool for you. It helps you by
preparing resumes and cover letters and organizing your job
application process. It:
@item Stores all your skills and experiences.
@item Creates resumes tailored for each job you apply.
@item Creates cover letters summarized to match each job
@item Keeps a history of job applications so you are ready when you
receive a phone call.
@item Writes resumes in your language. All languages are supported!
@end itemize")
(license license:gpl3+)))