From 06b69e2e270101769bd17e2884d30033d09a7892 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Wed, 14 Feb 2024 22:32:39 -0800 Subject: [PATCH] Clarify license: ISC RFC1751 comes from S/Key. S/Key comes from OpenBSD. Honor that tradition by using the license that the OpenBSD project recommends today: https://www.openbsd.org/policy.html --- default.nix | 1 + rfc1751.py | 15 +++++++++++++++ rfc1751_test.py | 15 +++++++++++++++ 3 files changed, 31 insertions(+) diff --git a/default.nix b/default.nix index 244df1b..8b3e750 100644 --- a/default.nix +++ b/default.nix @@ -8,4 +8,5 @@ pkgs.python3Packages.callPackage nativeCheckInputs = [ mypy ] ++ lib.optionals lint [ autopep8 pylint ]; doCheck = true; checkPhase = "./test.sh"; + meta = { license = lib.licenses.isc; }; }) { } diff --git a/rfc1751.py b/rfc1751.py index dc21f14..616ea02 100644 --- a/rfc1751.py +++ b/rfc1751.py @@ -1,3 +1,18 @@ +# Copyright (c) 2024 Scott Worley +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + import sys from rfc1751wordlist import WORD_LIST, WORD_LIST_SIZE diff --git a/rfc1751_test.py b/rfc1751_test.py index 5fdad7f..e4c2cd7 100644 --- a/rfc1751_test.py +++ b/rfc1751_test.py @@ -1,3 +1,18 @@ +# Copyright (c) 2024 Scott Worley +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + import unittest from rfc1751 import rfc1751 -- 2.44.1