From: Scott Worley Date: Thu, 15 Feb 2024 06:32:39 +0000 (-0800) Subject: Clarify license: ISC X-Git-Tag: v1.0.0~4 X-Git-Url: http://git.scottworley.com/rfc1751/commitdiff_plain/06b69e2e270101769bd17e2884d30033d09a7892?ds=sidebyside 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 --- 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