diff --git a/lib/licenses.nix b/lib/licenses.nix index ff68d1486437..333d32deded3 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -404,6 +404,12 @@ lib.mapAttrs mkLicense ({ fullName = "CeCILL-C Free Software License Agreement"; }; + cockroachdb-community-license = { + fullName = "CockroachDB Community License Agreement"; + url = "https://www.cockroachlabs.com/cockroachdb-community-license/"; + free = false; + }; + cpal10 = { spdxId = "CPAL-1.0"; fullName = "Common Public Attribution License 1.0"; diff --git a/pkgs/servers/sql/cockroachdb/cockroachdb-bin.nix b/pkgs/servers/sql/cockroachdb/cockroachdb-bin.nix index 7fbaff27d947..ef7eaaa080f9 100644 --- a/pkgs/servers/sql/cockroachdb/cockroachdb-bin.nix +++ b/pkgs/servers/sql/cockroachdb/cockroachdb-bin.nix @@ -39,7 +39,11 @@ buildFHSEnv { meta = with lib; { homepage = "https://www.cockroachlabs.com"; description = "Scalable, survivable, strongly-consistent SQL database"; - license = licenses.bsl11; + license = with licenses; [ + bsl11 + mit + cockroachdb-community-license + ]; platforms = [ "aarch64-linux" "x86_64-linux" ]; maintainers = with maintainers; [ rushmorem thoughtpolice ]; };