[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31252] [PATCH] gnu: Add Ranger.
From: |
Ludovic Courtès |
Subject: |
[bug#31252] [PATCH] gnu: Add Ranger. |
Date: |
Wed, 25 Apr 2018 23:09:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Eric Bavier <address@hidden> skribis:
> From 03abb95c7e551ea45d0742bf72cb78e5f0ce210e Mon Sep 17 00:00:00 2001
> From: Eric Bavier <address@hidden>
> Date: Tue, 24 Apr 2018 18:44:38 -0500
> Subject: [PATCH] gnu: Add Ranger.
> To: address@hidden
>
> From: Eric Bavier <address@hidden>
>
> * gnu/packages/disk.scm (ranger): New variable.
[...]
> +(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"))))
Patch was mangled. :-)
> + (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"))))))
You can use #:test-target "test" instead.
> + (home-page "https://ranger.github.io/")
> + (synopsis "Console file manager")
> + (description "@code{ranger} is a console file manager with VI key
Nitpick: “Ranger” (or “ranger”?) and “Vi”.
I haven’t tried using it, but otherwise LGTM. Thanks!
Ludo’.