gnu: Add cfm.

* gnu/packages/admin.scm (cfm): New public variable.
This commit is contained in:
Tobias Geerinckx-Rice 2021-04-05 17:23:16 +02:00
parent ee9c44c767
commit 8e4d44ad39
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -329,6 +329,38 @@ (define-public guile2.0-shepherd
#t)))
,@(package-arguments shepherd)))))
(define-public cfm
(package
(name "cfm")
(version "0.6.6")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/WillEccles/cfm")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "14gapia902f29wa4dlrrj8jcwcff9bfvyhjccw9ddy2gxx2g8wmr"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no test suite
#:make-flags
(list (string-append "CC=" ,(cc-for-target))
(string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
;; Keeping xdg-open optional avoids a size increase of 293%.
(delete 'configure)))) ; no configure script
(home-page "https://eccles.dev/cfm/")
(synopsis
"Simple terminal file manager with @command{vi}-inspired key bindings")
(description
"The Cactus File Manager (@command{cfm}) helps you manage your files
visually from a text terminal. It aims to be simple and fast, with key bindings
inspired by @command{vi}.")
(license license:mpl2.0)))
(define-public cloud-utils
(package
(name "cloud-utils")