projects/guix·blob java-team · refs

67 lines · 2.6 KiB

1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Andreas Enge <[email protected]>
3;;; Copyright © 2017 Efraim Flashner <[email protected]>
4;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <[email protected]>
5;;; Copyright © 2018, 2019 Ludovic Courtès <[email protected]>
6;;; Copyright © 2021 Maxim Cournoyer <[email protected]>
7;;;
8;;; This file is part of GNU Guix.
9;;;
10;;; GNU Guix is free software; you can redistribute it and/or modify it
11;;; under the terms of the GNU General Public License as published by
12;;; the Free Software Foundation; either version 3 of the License, or (at
13;;; your option) any later version.
14;;;
15;;; GNU Guix is distributed in the hope that it will be useful, but
16;;; WITHOUT ANY WARRANTY; without even the implied warranty of
17;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18;;; GNU General Public License for more details.
19;;;
20;;; You should have received a copy of the GNU General Public License
21;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
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 ;for soelim
54 libtool
55 perl
56 pkg-config
57 procps ;for ps
58 util-linux)) ;for unshare
59 (synopsis "Display information about open files")
60 (description
61 "Lsof stands for LiSt Open Files, and it does just that.
62It lists information about files that are open by the processes running
63on 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/")))