| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 |
|
| 24 | (define-module (gnu packages file)
|
| 25 | #:use-module (gnu packages)
|
| 26 | #:use-module (guix licenses)
|
| 27 | #:use-module (guix packages)
|
| 28 | #:use-module (guix download)
|
| 29 | #:use-module (guix build-system gnu))
|
| 30 |
|
| 31 | (define-public file
|
| 32 | (package
|
| 33 | (name "file")
|
| 34 | (version "5.46")
|
| 35 | (source (origin
|
| 36 | (method url-fetch)
|
| 37 | (uri (string-append "http://ftp.astron.com/pub/file/file-"
|
| 38 | version ".tar.gz"))
|
| 39 | (sha256
|
| 40 | (base32
|
| 41 | "1230v1sks2p4ijc7x68iy2z9sqfm17v5lmfwbq9l7ib0qp3pgk69"))))
|
| 42 | (build-system gnu-build-system)
|
| 43 |
|
| 44 | |
| 45 | |
| 46 | (native-inputs (if (%current-target-system)
|
| 47 | `(("self" ,this-package))
|
| 48 | '()))
|
| 49 | (synopsis "File type guesser")
|
| 50 | (description
|
| 51 | "The file command is a file type guesser, a command-line tool that tells
|
| 52 | you in words what kind of data a file contains. It does not rely on filename
|
| 53 | extensions to tell you the type of a file, but looks at the actual contents
|
| 54 | of the file. This package provides the libmagic library.")
|
| 55 | (license bsd-2)
|
| 56 | (home-page "https://www.darwinsys.com/file/")))
|