diff options
author | Markus Kowalewski <markus.kowalewski@gmail.com> | 2018-09-03 21:52:21 +0200 |
---|---|---|
committer | Markus Kowalewski <markus.kowalewski@gmail.com> | 2018-09-03 22:36:27 +0200 |
commit | 7422953eb0619d34a0ad38e76926dfe05c40ff03 (patch) | |
tree | 11ba4158dbfdf6272c36fe6367077af82629f139 | |
parent | c6878ad519556924f6f90756f03cab11404aa5a5 (diff) |
lsof: add license + update homepage
lib/licenses: add purdue style BSD license
-rw-r--r-- | lib/licenses.nix | 5 | ||||
-rw-r--r-- | pkgs/development/tools/misc/lsof/default.nix | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/lib/licenses.nix b/lib/licenses.nix index c442d74c857c1..6f0e4217c196e 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -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"; diff --git a/pkgs/development/tools/misc/lsof/default.nix b/pkgs/development/tools/misc/lsof/default.nix index 28c2660ac3d78..0a5a3c4878104 100644 --- a/pkgs/development/tools/misc/lsof/default.nix +++ b/pkgs/development/tools/misc/lsof/default.nix @@ -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; }; } |