Skip to content

Commit

Permalink
Merge pull request NixOS#333915 from jopejoe1/license
Browse files Browse the repository at this point in the history
lib/licenses: some corrections
  • Loading branch information
SuperSandro2000 authored Aug 24, 2024
2 parents 2436607 + fddb874 commit 771c564
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 deletions.
19 changes: 7 additions & 12 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ lib.mapAttrs mkLicense ({
};

bsl11 = {
spdxId = "BUSL-1.1";
fullName = "Business Source License 1.1";
url = "https://mariadb.com/bsl11";
free = false;
Expand Down Expand Up @@ -826,11 +827,6 @@ lib.mapAttrs mkLicense ({
fullName = "PNG Reference Library version 2";
};

libssh2 = {
fullName = "libssh2 License";
url = "https://www.libssh2.org/license.html";
};

libtiff = {
spdxId = "libtiff";
fullName = "libtiff License";
Expand Down Expand Up @@ -872,8 +868,6 @@ lib.mapAttrs mkLicense ({
url = "https://opensource.org/licenses/MirOS";
};

# spdx.org does not (yet) differentiate between the X11 and Expat versions
# for details see https://en.wikipedia.org/wiki/MIT_License#Various_versions
mit = {
spdxId = "MIT";
fullName = "MIT License";
Expand All @@ -884,6 +878,12 @@ lib.mapAttrs mkLicense ({
fullName = "feh License";
};

mit-modern = {
# Also known as Zsh license
spdxId = "MIT-Modern-Variant";
fullName = "MIT License Modern Variant";
};

mitAdvertising = {
spdxId = "MIT-advertising";
fullName = "Enlightenment License (e16)";
Expand Down Expand Up @@ -1316,11 +1316,6 @@ lib.mapAttrs mkLicense ({
fullName = "zlib License";
};

zsh = {
url = "https://github.com/zsh-users/zsh/blob/master/LICENCE";
fullName = "Zsh License";
};

zpl20 = {
spdxId = "ZPL-2.0";
fullName = "Zope Public License 2.0";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/fr/freefilesync/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
description = "Open Source File Synchronization & Backup Software";
homepage = "https://freefilesync.org";
license = [ licenses.gpl3Only licenses.openssl licenses.curl licenses.libssh2 ];
license = [ licenses.gpl3Only licenses.openssl licenses.curl licenses.bsd3 ];
maintainers = with maintainers; [ wegank ];
platforms = platforms.linux;
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/libssh2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
description = "Client-side C library implementing the SSH2 protocol";
homepage = "https://www.libssh2.org";
platforms = platforms.all;
license = with licenses; [ bsd3 libssh2 ];
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ SuperSandro2000 ];
};
}
2 changes: 1 addition & 1 deletion pkgs/shells/zsh/zsh-completions/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
bsd3
isc
mit
zsh
mit-modern
];
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.olejorgenb ];
Expand Down

0 comments on commit 771c564

Please sign in to comment.