54 lines
2 KiB
Scheme
54 lines
2 KiB
Scheme
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
|
|
;;;
|
|
;;; This file is an addendum to 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
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
;;; 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 <http://www.gnu.org/licenses/>.
|
|
|
|
(define-module (wip epr)
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
#:use-module (guix git-download)
|
|
#:use-module (guix packages)
|
|
#:use-module (guix build-system python))
|
|
|
|
(define-public epr
|
|
(package
|
|
(name "epr")
|
|
(version "2.3.0b")
|
|
(source
|
|
(origin
|
|
(method git-fetch)
|
|
(uri (git-reference
|
|
(url "https://github.com/wustho/epr")
|
|
(commit (string-append "v" version))))
|
|
(file-name (git-file-name name version))
|
|
(sha256
|
|
(base32 "1a6md3015284hzmx0sby5kl59p7lwv73sq7sid35vrr15zrl0aw7"))))
|
|
(build-system python-build-system)
|
|
(arguments '(#:tests? #f)) ; no tests.
|
|
(home-page "https://github.com/wustho/epr")
|
|
(synopsis "CLI Epub Reader")
|
|
(description
|
|
"Terminal/CLI Epub reader with features:
|
|
@enumerate
|
|
@item Remembers last read file (just run epr without any argument)
|
|
@item Remembers last reading state for each file (per file saved state written
|
|
to @code{$HOME/.config/epr/config} or @code{$HOME/.epr} respectively depending
|
|
on availability)
|
|
@item Adjustable text area width
|
|
@item Adaptive to terminal resize
|
|
@item Supports EPUB3 (no audio support)
|
|
@item Secondary vim-like bindings
|
|
@item Supports opening images
|
|
@end enumerate")
|
|
(license license:expat)))
|