summaryrefslogtreecommitdiff
path: root/rodion
diff options
context:
space:
mode:
authorRodion Goritskov <rodion.goritskov@gmail.com>2023-10-18 02:01:45 +0400
committerRodion Goritskov <rodion.goritskov@gmail.com>2023-10-18 02:01:45 +0400
commit0e4ce2e557b6eac065ea0448baa95550ac5835f7 (patch)
treeeff33d0aba8e2fdc940521be5a1b75e1a60b99bd /rodion
parent7d247f79b42df5c26d79414c2350efce276c62e6 (diff)
Add clifm
Diffstat (limited to 'rodion')
-rw-r--r--rodion/packages/filemanagers.scm45
1 files changed, 45 insertions, 0 deletions
diff --git a/rodion/packages/filemanagers.scm b/rodion/packages/filemanagers.scm
new file mode 100644
index 0000000..d774519
--- /dev/null
+++ b/rodion/packages/filemanagers.scm
@@ -0,0 +1,45 @@
+(define-module (rodion packages filemanagers)
+ #:use-module (guix packages)
+ #:use-module (guix gexp)
+ #:use-module (guix utils)
+ #:use-module (guix git-download)
+ #:use-module (guix build-system gnu)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (gnu packages readline)
+ #:use-module (gnu packages acl)
+ #:use-module (gnu packages linux))
+
+(define-public clifm
+ (package
+ (name "clifm")
+ (version "1.14.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/leo-arch/clifm")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "15qrgj4kzxkc4lp3rpqvyk9ilc4nckrpiskg7y7p6bqr23n8chyh"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags
+ (list
+ (string-append "CC=" ,(cc-for-target))
+ (string-append "PREFIX=" (assoc-ref %outputs "out")))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'build)
+ (delete 'check))))
+ (inputs
+ (list readline
+ acl
+ libcap))
+ (home-page "https://github.com/leo-arch/clifm")
+ (synopsis "TUI file manager")
+ (description "Clifm is a shell-like, text-based terminal file manager that sits on the command line.
+
+Though fully-featured, powerful, and extensible, it is not so much about features, but about design, about the way in which you interact with your file system.")
+ (license license:gpl2)))