From 371f9af3efdf44e983cea79e64d56d568c27c4bd Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Wed, 5 Aug 2026 13:36:08 +0200 Subject: [PATCH] libcpucycles: update meta.license - Add OR operator, as per https://cpucycles.cr.yp.to/license.html - 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. --- pkgs/by-name/li/libcpucycles/package.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/li/libcpucycles/package.nix b/pkgs/by-name/li/libcpucycles/package.nix index ae3dd8327edb..c1c5f1a24a8d 100644 --- a/pkgs/by-name/li/libcpucycles/package.nix +++ b/pkgs/by-name/li/libcpucycles/package.nix @@ -37,14 +37,15 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://cpucycles.cr.yp.to/"; description = "Microlibrary for counting CPU cycles"; changelog = "https://cpucycles.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 - ]; + license = + # Upstream specifies the public domain licenses with the terms here https://cpucycles.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