Skip to content

Commit

Permalink
meta.license is a list of strings (not attribute sets)
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Jul 3, 2013
1 parent e84ba40 commit 80213cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
21 changes: 4 additions & 17 deletions pkgs/lib/licenses.nix
Expand Up @@ -4,8 +4,7 @@
* add it to this list. The URL mentioned above is a good source for inspiration.
*/

agpl3 = {
shortName = "AGPLv3";
agpl3 = "AGPLv3";
fullName = "GNU Affero General Public License version 3 only";
url = https://www.gnu.org/licenses/agpl.html;
};
Expand Down Expand Up @@ -76,11 +75,7 @@
url = http://www.eclipse.org/legal/epl-v10.html;
};

gpl2 = {
shortName = "GPLv2";
fullName = "GNU General Public License version 2 only";
url = http://www.gnu.org/licenses/old-licenses/gpl-2.0.html;
};
gpl2 = "GPLv2";

gpl2Oss = {
shortName = "GPLv2+OSS";
Expand Down Expand Up @@ -136,23 +131,15 @@
url = https://fedoraproject.org/wiki/Licensing/libtiff;
};

lgpl2 = {
shortName = "LGPLv2";
fullName = "GNU Library General Public License version 2";
url = http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html;
};
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 = {
shortName = "LGPLv2.1";
fullName = "GNU Lesser General Public License version 2.1 only";
url = http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html;
};
lgpl21 = "LGPLv2.1";

lgpl21Plus = {
shortName = "LGPLv2.1+";
Expand Down
6 changes: 3 additions & 3 deletions pkgs/tools/networking/haproxy/default.nix
Expand Up @@ -18,12 +18,12 @@ stdenv.mkDerivation rec {

meta = {
description = "HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications.";
homepage = "http://haproxy.1wt.eu";
homepage = http://haproxy.1wt.eu;
maintainers = [ stdenv.lib.maintainers.garbas ];
platforms = stdenv.lib.platforms.linux;
license = [
pkgs.lib.licenses.gpl2
pkgs.lib.licenses.lgpl21
stdenv.lib.licenses.gpl2
stdenv.lib.licenses.lgpl21
];
};
}

0 comments on commit 80213cb

Please sign in to comment.