| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 |
|
| 23 | (define-module (gnu packages lsof)
|
| 24 | #:use-module ((guix licenses) #:prefix license:)
|
| 25 | #:use-module (guix packages)
|
| 26 | #:use-module (guix git-download)
|
| 27 | #:use-module (guix build-system gnu)
|
| 28 | #:use-module (guix gexp)
|
| 29 | #:use-module (guix utils)
|
| 30 | #:use-module (gnu packages)
|
| 31 | #:use-module (gnu packages autotools)
|
| 32 | #:use-module (gnu packages groff)
|
| 33 | #:use-module (gnu packages perl)
|
| 34 | #:use-module (gnu packages pkg-config)
|
| 35 | #:use-module (gnu packages linux))
|
| 36 |
|
| 37 | (define-public lsof
|
| 38 | (package
|
| 39 | (name "lsof")
|
| 40 | (version "4.99.6")
|
| 41 | (source (origin
|
| 42 | (method git-fetch)
|
| 43 | (uri (git-reference
|
| 44 | (url "https://github.com/lsof-org/lsof")
|
| 45 | (commit version)))
|
| 46 | (file-name (git-file-name name version))
|
| 47 | (sha256
|
| 48 | (base32
|
| 49 | "08p0c0wci9vam6b29ym7z7sip8gd0j0dz7zy4f0b32dw51rb3z9k"))))
|
| 50 | (build-system gnu-build-system)
|
| 51 | (native-inputs (list automake
|
| 52 | autoconf
|
| 53 | groff |
| 54 | libtool
|
| 55 | perl
|
| 56 | pkg-config
|
| 57 | procps |
| 58 | util-linux)) |
| 59 | (synopsis "Display information about open files")
|
| 60 | (description
|
| 61 | "Lsof stands for LiSt Open Files, and it does just that.
|
| 62 | It lists information about files that are open by the processes running
|
| 63 | on the system.")
|
| 64 | (license (license:fsf-free
|
| 65 | "file://00FAQ"
|
| 66 | "License inspired by zlib, see point 1.9 of 00FAQ in the distribution."))
|
| 67 | (home-page "https://people.freebsd.org/~abe/")))
|