| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 |
|
| 19 | (define-module (gnu packages clifm)
|
| 20 | #:use-module (guix packages)
|
| 21 | #:use-module (guix gexp)
|
| 22 | #:use-module (guix utils)
|
| 23 | #:use-module (guix git-download)
|
| 24 | #:use-module (guix build-system gnu)
|
| 25 | #:use-module ((guix licenses) #:prefix license:)
|
| 26 | #:use-module (gnu packages acl)
|
| 27 | #:use-module (gnu packages file)
|
| 28 | #:use-module (gnu packages linux)
|
| 29 | #:use-module (gnu packages readline))
|
| 30 |
|
| 31 | (define-public clifm
|
| 32 | (package
|
| 33 | (name "clifm")
|
| 34 | (version "1.29")
|
| 35 | (source
|
| 36 | (origin
|
| 37 | (method git-fetch)
|
| 38 | (uri (git-reference
|
| 39 | (url "https://github.com/leo-arch/clifm")
|
| 40 | (commit (string-append "v" version))))
|
| 41 | (file-name (git-file-name name version))
|
| 42 | (sha256
|
| 43 | (base32 "0w6m803fqzkgzndhp56001mm37b4a5ryn21f4f2pvjqql0lk5ss8"))))
|
| 44 | (build-system gnu-build-system)
|
| 45 | (arguments
|
| 46 | `(#:make-flags (list (string-append "CC="
|
| 47 | ,(cc-for-target))
|
| 48 | (string-append "PREFIX="
|
| 49 | (assoc-ref %outputs "out")))
|
| 50 | #:phases (modify-phases %standard-phases
|
| 51 | (delete 'configure)
|
| 52 | (delete 'build)
|
| 53 | (delete 'check)
|
| 54 | (add-after 'unpack 'fix-bash-completion-directory
|
| 55 | (lambda _
|
| 56 | (substitute* "Makefile"
|
| 57 | (("\\$\\(DATADIR\\)/bash-completion/completions")
|
| 58 | "$(PREFIX)/etc/bash_completion.d")))))))
|
| 59 | (inputs (list acl file libcap readline))
|
| 60 | (home-page "https://github.com/leo-arch/clifm")
|
| 61 | (synopsis "Command-line file manager")
|
| 62 | (description
|
| 63 | "Clifm is a shell-like, text-based terminal file manager
|
| 64 | that sits on the command line.
|
| 65 |
|
| 66 | It is built with command line principles in mind: instead of navigating
|
| 67 | through a big menu of files, it lets you type, exactly as you do in your
|
| 68 | regular shell, but easier and faster.")
|
| 69 | (license license:gpl2+)))
|