From 5b16f4d9911c4cb674bdc94819d15a224dd8069f Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Wed, 5 Aug 2026 05:40:48 +0200 Subject: [PATCH] lib25519: fix meta.* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit meta.{homepage,description,changelog}: Were set to pkgs.librandombytes’ values. meta.license: - Add OR operator. - Update URL to license in comment (the previous URL is included in the page the replaced one points to). Ref: https://github.com/ngi-nix/projects/issues/102 This work is done as part of Summer of Nix 2026. Co-authored-by: phanirithvij --- pkgs/by-name/li/lib25519/package.nix | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/pkgs/by-name/li/lib25519/package.nix b/pkgs/by-name/li/lib25519/package.nix index 0cd67b7b9451..e16d29a4b204 100644 --- a/pkgs/by-name/li/lib25519/package.nix +++ b/pkgs/by-name/li/lib25519/package.nix @@ -67,17 +67,18 @@ stdenv.mkDerivation (finalAttrs: { }; meta = { - homepage = "https://randombytes.cr.yp.to/"; - description = "Simple API for applications generating fresh randomness"; - changelog = "https://randombytes.cr.yp.to/download.html"; - license = with lib.licenses; [ - # Upstream specifies the public domain licenses with the terms here https://cr.yp.to/spdx.html - publicDomain - cc0 - bsd0 - mit - mit0 - ]; + homepage = "https://lib25519.cr.yp.to"; + description = "Microlibrary for X25519/Ed25519 cryptography"; + changelog = "https://lib25519.cr.yp.to/download.html"; + license = + # Upstream specifies the public domain licenses with the terms here https://lib25519.cr.yp.to/license.html + lib.licenses.OR [ + lib.licenses.publicDomain + lib.licenses.cc0 + lib.licenses.bsd0 + lib.licenses.mit + lib.licenses.mit0 + ]; maintainers = with lib.maintainers; [ kiike imadnyc