From 0e4ce2e557b6eac065ea0448baa95550ac5835f7 Mon Sep 17 00:00:00 2001 From: Rodion Goritskov Date: Wed, 18 Oct 2023 02:01:45 +0400 Subject: Add clifm --- rodion/packages/filemanagers.scm | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 rodion/packages/filemanagers.scm 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))) -- cgit v1.2.3