licenses: rename `apsl{10,20}` -> `apple-psl{10,20}`

Part 1 of #301908.

This renames the two versions of the Apple Public Source License seen in
nixpkgs; `apsl20` was often confused as being for the widely-used Apache
License 2.0.

Changed files
+31 -19
lib
pkgs
by-name
op
opencflite
os-specific
darwin
apple-source-releases
CarbonHeaders
CommonCrypto
Csu
IOKit
Librpcsvc
Libsystem
architecture
dyld
libunwind
libutil
cctools
servers
x11
quartz-wm
tools
filesystems
hfsprogs
system
pdisk
+14 -2
lib/licenses.nix
···
url = "https://aomedia.org/license/patent-license/";
};
-
apsl10 = {
+
apple-psl10 = {
spdxId = "APSL-1.0";
fullName = "Apple Public Source License 1.0";
};
-
apsl20 = {
+
apple-psl20 = {
spdxId = "APSL-2.0";
fullName = "Apple Public Source License 2.0";
};
···
};
} // {
# TODO: remove legacy aliases
+
apsl10 = {
+
# deprecated for consistency with `apple-psl20`; use `apple-psl10`
+
spdxId = "APSL-1.0";
+
fullName = "Apple Public Source License 1.0";
+
deprecated = true;
+
};
+
apsl20 = {
+
# deprecated due to confusion with Apache-2.0; use `apple-psl20`
+
spdxId = "APSL-2.0";
+
fullName = "Apple Public Source License 2.0";
+
deprecated = true;
+
};
gpl2 = {
spdxId = "GPL-2.0";
fullName = "GNU General Public License v2.0";
+1 -1
pkgs/by-name/op/opencflite/package.nix
···
meta = {
description = "Cross platform port of the macOS CoreFoundation";
homepage = "https://github.com/gerickson/opencflite";
-
license = lib.licenses.apsl20;
+
license = lib.licenses.apple-psl20;
maintainers = with lib.maintainers; [ wegank ];
platforms = [ "x86_64-linux" ];
};
+1 -1
pkgs/os-specific/darwin/apple-source-releases/CarbonHeaders/default.nix
···
meta = with lib; {
maintainers = with maintainers; [ copumpkin ];
platforms = platforms.darwin;
-
license = licenses.apsl20;
+
license = licenses.apple-psl20;
};
}
+1 -1
pkgs/os-specific/darwin/apple-source-releases/CommonCrypto/default.nix
···
meta = with lib; {
maintainers = with maintainers; [ copumpkin ];
platforms = platforms.darwin;
-
license = licenses.apsl20;
+
license = licenses.apple-psl20;
};
}
+1 -1
pkgs/os-specific/darwin/apple-source-releases/Csu/default.nix
···
description = "Apple's common startup stubs for darwin";
maintainers = with maintainers; [ copumpkin ];
platforms = platforms.darwin;
-
license = licenses.apsl20;
+
license = licenses.apple-psl20;
};
}
+1 -1
pkgs/os-specific/darwin/apple-source-releases/IOKit/default.nix
···
meta = with lib; {
maintainers = with maintainers; [ copumpkin ];
platforms = platforms.darwin;
-
license = licenses.apsl20;
+
license = licenses.apple-psl20;
};
}
+1 -1
pkgs/os-specific/darwin/apple-source-releases/Librpcsvc/default.nix
···
meta = with lib; {
maintainers = with maintainers; [ matthewbauer ];
platforms = platforms.darwin;
-
license = licenses.apsl20;
+
license = licenses.apple-psl20;
};
}
+1 -1
pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix
···
description = "The Mac OS libc/libSystem (tapi library with pure headers)";
maintainers = with maintainers; [ copumpkin gridaphobe ];
platforms = platforms.darwin;
-
license = licenses.apsl20;
+
license = licenses.apple-psl20;
};
}
+1 -1
pkgs/os-specific/darwin/apple-source-releases/architecture/default.nix
···
meta = with lib; {
maintainers = with maintainers; [ copumpkin ];
platforms = platforms.darwin;
-
license = licenses.apsl20;
+
license = licenses.apple-psl20;
};
}
+1 -1
pkgs/os-specific/darwin/apple-source-releases/default.nix
···
} // (if builtins.isFunction attrs then attrs finalAttrs else attrs) // {
meta = (with lib; {
platforms = platforms.darwin;
-
license = licenses.apsl20;
+
license = licenses.apple-psl20;
}) // (attrs.meta or {});
});
+1 -1
pkgs/os-specific/darwin/apple-source-releases/dyld/default.nix
···
description = "Impure primitive symlinks to the Mac OS native dyld, along with headers";
maintainers = with maintainers; [ copumpkin ];
platforms = platforms.darwin;
-
license = licenses.apsl20;
+
license = licenses.apple-psl20;
};
}
+1 -1
pkgs/os-specific/darwin/apple-source-releases/libunwind/default.nix
···
meta = with lib; {
maintainers = with maintainers; [ copumpkin lnl7 ];
platforms = platforms.darwin;
-
license = licenses.apsl20;
+
license = licenses.apple-psl20;
};
}
+1 -1
pkgs/os-specific/darwin/apple-source-releases/libutil/default.nix
···
meta = with lib; {
maintainers = with maintainers; [ copumpkin ];
platforms = platforms.darwin;
-
license = licenses.apsl20;
+
license = licenses.apple-psl20;
};
}
+1 -1
pkgs/os-specific/darwin/cctools/apple.nix
···
meta = with lib; {
description = "MacOS Compiler Tools";
homepage = "http://www.opensource.apple.com/source/cctools/";
-
license = licenses.apsl20;
+
license = licenses.apple-psl20;
platforms = platforms.darwin;
};
}
+1 -1
pkgs/os-specific/darwin/cctools/port.nix
···
broken = !stdenv.targetPlatform.isDarwin; # Only supports darwin targets
homepage = "http://www.opensource.apple.com/source/cctools/";
description = "MacOS Compiler Tools (cross-platform port)";
-
license = lib.licenses.apsl20;
+
license = lib.licenses.apple-psl20;
maintainers = with lib.maintainers; [ matthewbauer ];
};
}
+1 -1
pkgs/servers/x11/quartz-wm/default.nix
···
AppKit Xplugin Foundation
];
meta = with lib; {
-
license = licenses.apsl20;
+
license = licenses.apple-psl20;
platforms = platforms.darwin;
maintainers = with maintainers; [ matthewbauer ];
};
+1 -1
pkgs/tools/filesystems/hfsprogs/default.nix
···
meta = {
description = "HFS/HFS+ user space utils";
-
license = lib.licenses.apsl20;
+
license = lib.licenses.apple-psl20;
platforms = lib.platforms.linux;
};
}
+1 -1
pkgs/tools/system/pdisk/default.nix
···
homepage = "https://github.com/apple-oss-distributions/pdisk";
license = with licenses; [
hpnd # original license statements seems to match this (in files that are shared with mac-fdisk)
-
apsl10 # new files
+
apple-psl10 # new files
];
maintainers = with maintainers; [ OPNA2608 ];
platforms = platforms.unix;