forked from mirrors/nixpkgs
lsof: add license + update homepage
lib/licenses: add purdue style BSD license
This commit is contained in:
parent
c6878ad519
commit
7422953eb0
|
@ -546,6 +546,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
|
|||
fullName = "Public Domain";
|
||||
};
|
||||
|
||||
purdueBsd = {
|
||||
fullName = " Purdue BSD-Style License"; # also know as lsof license
|
||||
url = https://enterprise.dejacode.com/licenses/public/purdue-bsd;
|
||||
};
|
||||
|
||||
qpl = spdx {
|
||||
spdxId = "QPL-1.0";
|
||||
fullName = "Q Public License 1.0";
|
||||
|
|
|
@ -51,15 +51,16 @@ stdenv.mkDerivation rec {
|
|||
cp lsof $out/bin
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/;
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://people.freebsd.org/~abe/;
|
||||
description = "A tool to list open files";
|
||||
longDescription = ''
|
||||
List open files. Can show what process has opened some file,
|
||||
socket (IPv6/IPv4/UNIX local), or partition (by opening a file
|
||||
from it).
|
||||
'';
|
||||
maintainers = [ stdenv.lib.maintainers.dezgeg ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ maintainers.dezgeg ];
|
||||
platforms = platforms.unix;
|
||||
license = licenses.purdueBsd;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue