From b9c5598b3cfdd99e4da7c35970d9cbab49141eb1 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Wed, 14 Nov 2018 23:10:06 +0100 Subject: [PATCH] mysql: add licenses --- pkgs/servers/sql/mysql/5.5.x.nix | 9 +++++++-- pkgs/servers/sql/mysql/5.7.x.nix | 8 ++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/sql/mysql/5.5.x.nix b/pkgs/servers/sql/mysql/5.5.x.nix index 15f82a90208..36f5200d43b 100644 --- a/pkgs/servers/sql/mysql/5.5.x.nix +++ b/pkgs/servers/sql/mysql/5.5.x.nix @@ -69,9 +69,14 @@ self = stdenv.mkDerivation rec { mysqlVersion = "5.5"; }; - meta = { + meta = with stdenv.lib; { homepage = https://www.mysql.com/; description = "The world's most popular open source database"; - platforms = stdenv.lib.platforms.unix; + platforms = platforms.unix; + # See https://downloads.mysql.com/docs/licenses/mysqld-5.5-gpl-en.pdf + license = with licenses; [ + artistic1 bsd0 bsd2 bsd3 bsdOriginal + gpl2 lgpl2 lgpl21 mit publicDomain licenses.zlib + ]; }; }; in self diff --git a/pkgs/servers/sql/mysql/5.7.x.nix b/pkgs/servers/sql/mysql/5.7.x.nix index b5912dd9ab9..51fca399759 100644 --- a/pkgs/servers/sql/mysql/5.7.x.nix +++ b/pkgs/servers/sql/mysql/5.7.x.nix @@ -75,9 +75,13 @@ self = stdenv.mkDerivation rec { mysqlVersion = "5.7"; }; - meta = { + meta = with stdenv.lib; { homepage = https://www.mysql.com/; description = "The world's most popular open source database"; - platforms = stdenv.lib.platforms.unix; + platforms = platforms.unix; + license = with licenses; [ + artistic1 bsd0 bsd2 bsd3 bsdOriginal + gpl2 lgpl2 lgpl21 mit publicDomain licenses.zlib + ]; }; }; in self