Skip to content

Commit

Permalink
zpl*: Fix the attribute name of the license
Browse files Browse the repository at this point in the history
This was simply a typo since the license was added in 2013.
  • Loading branch information
primeos committed Aug 6, 2017
1 parent 7960bbf commit 4b0afc1
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
Expand Up @@ -546,12 +546,12 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "zlib License";
};

zpt20 = spdx { # FIXME: why zpt* instead of zpl*
zpl20 = spdx {
spdxId = "ZPL-2.0";
fullName = "Zope Public License 2.0";
};

zpt21 = spdx {
zpl21 = spdx {
spdxId = "ZPL-2.1";
fullName = "Zope Public License 2.1";
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/btrees/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Scalable persistent components";
homepage = http://packages.python.org/BTrees;
license = licenses.zpt21;
license = licenses.zpl21;
};
}
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/buildout-nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildPythonPackage {
meta = {
homepage = http://www.buildout.org;
description = "A software build and configuration system";
license = stdenv.lib.licenses.zpt21;
license = stdenv.lib.licenses.zpl21;
maintainers = [ stdenv.lib.maintainers.goibhniu ];
};
}
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/setuptools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Utilities to facilitate the installation of Python packages";
homepage = http://pypi.python.org/pypi/setuptools;
license = with licenses; [ psfl zpt20 ];
license = with licenses; [ psfl zpl20 ];
platforms = platforms.all;
priority = 10;
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/zc_lockfile/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Inter-process locks";
homepage = http://www.python.org/pypi/zc.lockfile;
license = licenses.zpt20;
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
}
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/zconfig/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Structured Configuration Library";
homepage = http://pypi.python.org/pypi/ZConfig;
license = licenses.zpt20;
license = licenses.zpl20;
maintainers = [ maintainers.goibhniu ];
};
}
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/zope_interface/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Zope.Interface";
homepage = http://zope.org/Products/ZopeInterface;
license = licenses.zpt20;
license = licenses.zpl20;
maintainers = [ maintainers.goibhniu ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "A flexible test runner with layer support";
homepage = http://pypi.python.org/pypi/zope.testrunner;
license = licenses.zpt20;
license = licenses.zpl20;
maintainers = [ maintainers.goibhniu ];
};
}
4 changes: 2 additions & 2 deletions pkgs/tools/security/vulnix/requirements.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rec {
]);

meta = with stdenv.lib; {
license = licenses.zpt21;
license = licenses.zpl21;
description = "Zope Object Database: object database and persistence";
};
};
Expand All @@ -40,7 +40,7 @@ rec {
mock
];
meta = with stdenv.lib; {
license = licenses.zpt21;
license = licenses.zpl21;
description = "Transaction management for Python";
};
};
Expand Down
24 changes: 12 additions & 12 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2582,7 +2582,7 @@ in {
meta = {
homepage = "http://www.buildout.org";
description = "A software build and configuration system";
license = licenses.zpt21;
license = licenses.zpl21;
maintainers = with maintainers; [ garbas ];
};
};
Expand Down Expand Up @@ -12551,7 +12551,7 @@ in {
meta = {
description = "A documentation builder";
homepage = http://pypi.python.org/pypi/manuel;
license = licenses.zpt20;
license = licenses.zpl20;
};
};

Expand Down Expand Up @@ -17273,7 +17273,7 @@ in {
doCheck = false;
meta = {
description = "PostgreSQL database adapter for the Python programming language";
license = with licenses; [ gpl2 zpt20 ];
license = with licenses; [ gpl2 zpl20 ];
};
};

Expand Down Expand Up @@ -21323,7 +21323,7 @@ in {
meta = {
description = "Simple generic functions";
homepage = http://cheeseshop.python.org/pypi/simplegeneric;
license = licenses.zpt21;
license = licenses.zpl21;
};
};

Expand Down Expand Up @@ -23573,7 +23573,7 @@ in {
meta = {
description = "Transaction management";
homepage = http://pypi.python.org/pypi/transaction;
license = licenses.zpt20;
license = licenses.zpl20;
};
};

Expand Down Expand Up @@ -23611,7 +23611,7 @@ in {
meta = {
description = "A tool which computes a dependency graph between active Python eggs";
homepage = http://thomas-lotze.de/en/software/eggdeps/;
license = licenses.zpt20;
license = licenses.zpl20;
};
};

Expand Down Expand Up @@ -24781,7 +24781,7 @@ EOF
meta = {
description = "A daemon process control library and tools for Unix-based systems";
homepage = http://pypi.python.org/pypi/zdaemon;
license = licenses.zpt20;
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
};
Expand Down Expand Up @@ -24832,7 +24832,7 @@ EOF
meta = {
description = "An object-oriented database for Python";
homepage = http://pypi.python.org/pypi/ZODB3;
license = licenses.zpt20;
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
};
Expand All @@ -24859,7 +24859,7 @@ EOF
meta = {
description = "An object-oriented database for Python";
homepage = http://pypi.python.org/pypi/ZODB;
license = licenses.zpt20;
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
};
Expand Down Expand Up @@ -25065,7 +25065,7 @@ EOF
meta = {
description = "An event publishing system";
homepage = http://pypi.python.org/pypi/zope.event;
license = licenses.zpt20;
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
};
Expand All @@ -25088,7 +25088,7 @@ EOF
meta = {
description = "Exception interfaces and implementations";
homepage = http://pypi.python.org/pypi/zope.exceptions;
license = licenses.zpt20;
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
};
Expand Down Expand Up @@ -25308,7 +25308,7 @@ EOF
meta = {
description = "Zope testing helpers";
homepage = http://pypi.python.org/pypi/zope.testing;
license = licenses.zpt20;
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
};
Expand Down

0 comments on commit 4b0afc1

Please sign in to comment.