lsof: add license + update homepage

lib/licenses: add purdue style BSD license
This commit is contained in:
Markus Kowalewski 2018-09-03 21:52:21 +02:00
parent c6878ad519
commit 7422953eb0
No known key found for this signature in database
GPG Key ID: D865C8A91D7025EB
2 changed files with 10 additions and 4 deletions

View File

@ -546,6 +546,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "Public Domain"; 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 { qpl = spdx {
spdxId = "QPL-1.0"; spdxId = "QPL-1.0";
fullName = "Q Public License 1.0"; fullName = "Q Public License 1.0";

View File

@ -51,15 +51,16 @@ stdenv.mkDerivation rec {
cp lsof $out/bin cp lsof $out/bin
''; '';
meta = { meta = with stdenv.lib; {
homepage = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/; homepage = https://people.freebsd.org/~abe/;
description = "A tool to list open files"; description = "A tool to list open files";
longDescription = '' longDescription = ''
List open files. Can show what process has opened some file, List open files. Can show what process has opened some file,
socket (IPv6/IPv4/UNIX local), or partition (by opening a file socket (IPv6/IPv4/UNIX local), or partition (by opening a file
from it). from it).
''; '';
maintainers = [ stdenv.lib.maintainers.dezgeg ]; maintainers = [ maintainers.dezgeg ];
platforms = stdenv.lib.platforms.unix; platforms = platforms.unix;
license = licenses.purdueBsd;
}; };
} }