mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: Add Ranger.
* gnu/packages/disk.scm (ranger): New variable.
This commit is contained in:
parent
e7323f4c08
commit
834b0b9a5c
1 changed files with 31 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
||||||
;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
||||||
;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
|
;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
|
||||||
;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
|
;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
|
||||||
|
;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -35,6 +36,7 @@ (define-module (gnu packages disk)
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system python)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages base)
|
#:use-module (gnu packages base)
|
||||||
|
#:use-module (gnu packages check)
|
||||||
#:use-module (gnu packages databases)
|
#:use-module (gnu packages databases)
|
||||||
#:use-module (gnu packages docbook)
|
#:use-module (gnu packages docbook)
|
||||||
#:use-module (gnu packages gettext)
|
#:use-module (gnu packages gettext)
|
||||||
|
@ -502,3 +504,32 @@ (define-public duperemove
|
||||||
|
|
||||||
Duperemove can also take input from the @command{fdupes} program.")
|
Duperemove can also take input from the @command{fdupes} program.")
|
||||||
(license license:gpl2)))
|
(license license:gpl2)))
|
||||||
|
|
||||||
|
(define-public ranger
|
||||||
|
(package
|
||||||
|
(name "ranger")
|
||||||
|
(version "1.9.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://ranger.github.io/"
|
||||||
|
"ranger-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1lnzkrxcnlwnyi3z0v8ybyp8d5rm26qm35rr68kbs2lbs06inha0"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(native-inputs ;for tests
|
||||||
|
`(("python-pytest" ,python-pytest)
|
||||||
|
("python-pylint" ,python-pylint)
|
||||||
|
("python-flake8" ,python-flake8)
|
||||||
|
("which" ,which)))
|
||||||
|
(arguments
|
||||||
|
'(#:phases (modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _ (invoke "make" "test"))))))
|
||||||
|
(home-page "https://ranger.github.io/")
|
||||||
|
(synopsis "Console file manager")
|
||||||
|
(description "@code{ranger} is a console file manager with VI key
|
||||||
|
bindings. It provides a minimalistic and nice curses interface with a view on
|
||||||
|
the directory hierarchy. It ships with @code{rifle}, a file launcher that is
|
||||||
|
good at automatically finding out which program to use for what file type.")
|
||||||
|
(license license:gpl3)))
|
||||||
|
|
Loading…
Reference in a new issue