From 5fef92c4a0c91153e3edac3a61a232581765074a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 10 Oct 2013 13:28:21 +0200 Subject: Move pkgs/lib/ to lib/ --- lib/licenses.nix | 235 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 235 insertions(+) create mode 100644 lib/licenses.nix (limited to 'lib/licenses.nix') diff --git a/lib/licenses.nix b/lib/licenses.nix new file mode 100644 index 0000000000000..55517c5e1e5e4 --- /dev/null +++ b/lib/licenses.nix @@ -0,0 +1,235 @@ +{ + /* License identifiers loosely based on: http://fedoraproject.org/wiki/Licensing + * If you cannot find your license here, then look for a similar license or + * add it to this list. The URL mentioned above is a good source for inspiration. + */ + + artistic2 = { + shortName = "Artistic 2.0"; + fullName = "Artistic 2.0"; + url = "http://opensource.org/licenses/artistic-license-2.0.php"; + }; + + agpl3 = { + shortName = "AGPLv3"; + fullName = "GNU Affero General Public License version 3 only"; + url = https://www.gnu.org/licenses/agpl.html; + }; + + agpl3Plus = { + shortName = "AGPLv3+"; + fullName = "GNU Affero General Public License version 3 or later"; + url = https://www.gnu.org/licenses/agpl.html; + }; + + amd = { + shortName = "amd"; + fullName = "AMD License Agreement"; + url = "http://developer.amd.com/amd-license-agreement/"; + }; + + amdadl = { + shortName = "amd-adl"; + fullName = "amd-adl license"; + url = "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/licenses/AMD-ADL?revision=1.1"; + }; + + # Apple Public Source License 2.0; + # http://opensource.org/licenses/APSL-2.0 + apsl20 = "APSL 2.0"; + + asl20 = { + shortName = "ASL2.0"; + fullName = "Apache Software License 2.0"; + url = http://www.apache.org/licenses/LICENSE-2.0; + }; + + boost = { + shortName = "boost"; + fullName = "Boost Software License"; + url = http://www.boost.org/LICENSE_1_0.txt; + }; + + bsd2 = { + shortName = "BSD-2"; + fullName = "BSD license (2 clause)"; + url = http://opensource.org/licenses/BSD-2-Clause; + }; + + bsd3 = { + shortName = "BSD-3"; + fullName = "BSD license (3 clause)"; + url = http://opensource.org/licenses/BSD-3-Clause; + }; + + bsdOriginal = { + shortName = "BSD-original"; + fullName = "Original BSD license with advertising clause"; + url = https://fedoraproject.org/wiki/Licensing/BSD; + }; + + cddl = { + shortName = "CDDL"; + fullName = "Common Development Distribution License "; + url = http://www.opensolaris.org/os/licensing/cddllicense.txt; + }; + + cpl10 = { + shortName = "CPL 1.0"; + fullName = "Common Public License version 1.0"; + url = http://www.eclipse.org/legal/cpl-v10.html; + }; + + epl10 = { + shortName = "EPL 1.0"; + fullName = "Eclipse Public License version 1.0"; + url = http://www.eclipse.org/legal/epl-v10.html; + }; + + gpl2 = "GPLv2"; + + gpl2Oss = { + shortName = "GPLv2+OSS"; + fullName = "GNU General Public License version 2 only (with OSI approved licenses linking exception)"; + url = http://www.mysql.com/about/legal/licensing/foss-exception; + }; + + # GNU General Public License version 2 or later; + # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html + gpl2Plus = "GPLv2+"; + + gpl3 = { + shortName = "GPLv3"; + fullName = "GNU General Public License version 3 only"; + url = http://www.fsf.org/licensing/licenses/gpl.html; + }; + + gpl3Plus = { + shortName = "GPLv3+"; + fullName = "GNU General Public License version 3 or later"; + url = http://www.fsf.org/licensing/licenses/gpl.html; + }; + + gpl3ClasspathPlus = { + shortName = "GPLv3+classpath+"; + fullName = "GNU General Public License version 3 or later (with Classpath exception)"; + url = https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception; + }; + + isc = { + shortName = "ISC"; + fullName = "Internet Systems Consortium License"; + url = http://www.opensource.org/licenses/ISC; + }; + + ipl10 = { + shortName = "IPL 1.0"; + fullName = "IBM Public License Version 1.0"; + url = http://www.ibm.com/developerworks/opensource/library/os-i18n2/os-ipl.html; + }; + + ijg = { + shortName = "IJG"; + fullName = "Independent JPEG Group License"; + url = https://fedoraproject.org/wiki/Licensing/IJG; + }; + + libtiff = { + shortName = "libtiff"; + fullName = "libtiff license"; + url = https://fedoraproject.org/wiki/Licensing/libtiff; + }; + + lgpl2 = "LGPLv2"; + + lgpl2Plus = { + shortName = "LGPLv2+"; + fullName = "GNU Library General Public License version 2 or later"; + url = http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html; + }; + + lgpl21 = "LGPLv2.1"; + + lgpl21Plus = { + shortName = "LGPLv2.1+"; + fullName = "GNU Lesser General Public License version 2.1 or later"; + url = http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html; + }; + + llgpl21 = { + shortName = "LLGPLv2.1"; + fullName = "Lisp LGPL; GNU Lesser General Public License version 2.1 with Franz Inc. preamble for clarification of LGPL terms in context of Lisp"; + url = http://opensource.franz.com/preamble.html; + }; + + lgpl3 = { + shortName = "LGPLv3"; + fullName = "GNU Lesser General Public License version 3 only"; + url = http://www.fsf.org/licensing/licenses/lgpl.html; + }; + + lgpl3Plus = { + shortName = "LGPLv3+"; + fullName = "GNU Lesser General Public License version 3 or later"; + url = http://www.fsf.org/licensing/licenses/lgpl.html; + }; + + mit = { + shortName = "MIT"; + fullName = "MIT/X11 license"; + url = http://www.opensource.org/licenses/mit-license.php; + }; + + mpl11 = { + shortName = "MPL1.1"; + fullName = "Mozilla Public License version 1.1"; + url = http://www.mozilla.org/MPL/MPL-1.1.html; + }; + + openssl = { + shortName = "openssl"; + fullName = "OpenSSL license"; + url = http://www.openssl.org/source/license.html; + }; + + publicDomain = { + shortName = "Public Domain"; + fullname = "Public Domain"; + }; + + psfl = { + shortName = "PSFL"; + fullName = "Python Software Foundation License"; + url = http://docs.python.org/license.html; + }; + + tcltk = { + shortName = "Tcl/Tk"; + fullName = "Tcl/Tk license"; + url = http://www.tcl.tk/software/tcltk/license.html; + }; + + unfree = "unfree"; + + unfreeRedistributable = "unfree-redistributable"; + + unfreeRedistributableFirmware = "unfree-redistributable-firmware"; + + zlib = { + shortName = "zlib"; + fullName = "zlib license"; + url = http://www.gzip.org/zlib/zlib_license.html; + }; + + zpt20 = { + shortName = "ZPT2.0"; + fullName = "Zope Public License 2.0"; + url = "http://old.zope.org/Resources/License/ZPL-2.0"; + }; + + zpt21 = { + shortName = "ZPT2.1"; + fullName = "Zope Public License 2.1"; + url = "http://old.zope.org/Resources/License/ZPL-2.1"; + }; +} -- cgit 1.4.1