From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QIogECfQUWESYwEAgWs5BA (envelope-from ) for ; Mon, 27 Sep 2021 16:07:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6OPmCyfQUWGRIQAA1q6Kng (envelope-from ) for ; Mon, 27 Sep 2021 14:07:35 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6D11419010 for ; Mon, 27 Sep 2021 16:07:34 +0200 (CEST) Received: from localhost ([::1]:55882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUrI5-0003We-Ii for larch@yhetil.org; Mon, 27 Sep 2021 10:07:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUr5z-0005bD-KG for guix-patches@gnu.org; Mon, 27 Sep 2021 09:55:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56847) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUr5y-0001vK-P9 for guix-patches@gnu.org; Mon, 27 Sep 2021 09:55:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUr5y-000419-Oh for guix-patches@gnu.org; Mon, 27 Sep 2021 09:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50847] [PATCH 1/5] gnu: Add iodash. References: <87wnn2ruq9.fsf@posteo.org> In-Reply-To: <87wnn2ruq9.fsf@posteo.org> Resent-From: Alexandr Vityazev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Sep 2021 13:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50847 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50847@debbugs.gnu.org Received: via spool by 50847-submit@debbugs.gnu.org id=B50847.163275087915356 (code B ref 50847); Mon, 27 Sep 2021 13:55:02 +0000 Received: (at 50847) by debbugs.gnu.org; 27 Sep 2021 13:54:39 +0000 Received: from localhost ([127.0.0.1]:40134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUr5X-0003zV-DU for submit@debbugs.gnu.org; Mon, 27 Sep 2021 09:54:39 -0400 Received: from mout02.posteo.de ([185.67.36.66]:39021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUr5W-0003zG-07 for 50847@debbugs.gnu.org; Mon, 27 Sep 2021 09:54:34 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 405FD240101 for <50847@debbugs.gnu.org>; Mon, 27 Sep 2021 15:54:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1632750868; bh=IpVxA8SOkwYjg8wgbGXANyq9wNymSgbUFizc9HlqKzA=; h=From:To:Subject:Date:From; b=YRqGnPRcBBhHQ7yiGuXGWQDgJErl+gcBmts2PUIGcGUCRtExEytuYQ6l8l7XXW/C/ tgPnKLYRBQQ8QUz0Y51EVeo7lH0ZAZSUcddd5w2MoQRkdXbHtVtWqdBcXHBSHmsMSc NAW1vSMAFO7LZmDIVwH/CNn8trDrCJgqoPdlk2c39+dTs1MP9nLmwfs9m1GWegaDHj HVf9pX7uVaENjEnc9N39E93gHW/AZdPbEfB2NhS66NGQI8+F5zRgjhuNqeqY4VqdRd 8fHoAdShNMzEPe5Gm8bId7MZpTOzibsNPkosfOJDVNUsvNm1aTWG1LMdwK/CKvFMkU /lFgWCLhbDRxw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJ3z73PJZz6tnK for <50847@debbugs.gnu.org>; Mon, 27 Sep 2021 15:54:27 +0200 (CEST) From: Alexandr Vityazev Date: Mon, 27 Sep 2021 13:54:33 +0000 Message-ID: <87v92mruna.fsf@posteo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632751654; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qmaBrWEbYYKM2jeL8sAtW+lpRthSEApOBIFvb2lK+Ik=; b=DiIckXoUmOVTrgGpMIrLfXM6opsvmuo8ACtPYAACxDPhxnc4/x7/sCfIi1mxT5995S9WXN 39r0tIjrg7n1no08tp+cSPewyBbyIlsMfjHUnn/PJMSQV3YyI3noI7SDtN+30af2rYjFIi RFkPStRu6n8Kfx+KlVvoWzBA06H1UMlzdv70OGlAY8kFBtOL5uJJTJxjXk3rZAcjbDbmHb uHLa1t1ElDbOxNAZQuJzM3rZGYS2E24i0BczMRkfCoXfbTAFF7tUjcL1R/QV1rWBbjM/3a aZGwIfdD78b0cSm1Xi1N1pPZU615jwnMQt87p14SvTWZNTG2dKa4lYtqDWwcVQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632751654; a=rsa-sha256; cv=none; b=Cf0d5dPTq52kbOlENhMTgA0du8R0c5cDiArowuawb5aA3IwDw2ByecApIH1tNu5RV6663a ZD6TI5NbtkMF1iTk/vtixxAgWankcToZsdA5YDeLLwXRWDhnXVe7T39XHMCJXg9TuE+VvK Ig1tYSAEBIZFZ6K507OyxagfWUfs5XwABlpwMhJ3mZgjz4I8xRmxv2UMkbQdzbdfGxBfLb Onn7aWawvPHx7VWWV1oaz45/mvvh6oWN0H6w1jd2iTMux5Xu4d7mgGcNFU9S6f5jV5IIDk vTvQ4+/JowD6qMIGoWcCTcPHARGEwRSJ5VigasDujZGQBA7rS6DOD0WwlhxxkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=YRqGnPRc; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=YRqGnPRc; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 6D11419010 X-Spam-Score: -1.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: K1BJOEXmqxS8 * gnu/packages/cpp.scm (iodash): New variable. --- gnu/packages/cpp.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 4af71ba93a..e3b73b1612 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -18,6 +18,7 @@ ;;; Copyright =C2=A9 2020 Brett Gilio ;;; Copyright =C2=A9 2020 Milkey Mouse ;;; Copyright =C2=A9 2021 Raghav Gururajan +;;; Copyright =C2=A9 2021 Alexandr Vityazev ;;; ;;; This file is part of GNU Guix. ;;; @@ -956,6 +957,49 @@ provides a number of utilities to make coding with exp= ected cleaner.") (home-page "https://tl.tartanllama.xyz/") (license license:cc0))) =20 +(define-public iodash + ;; there is no cpp_modules in the release version + (let ((commit "acefbb532c48108a29beb3633d4ea0c0dffb0a7b") + (revision "0") + ;; ydotool requires this version + (version "0.1.0")) + (package + (name "iodash") + (version (git-version version revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/YukiWorkshop/IODash") + (commit commit) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1syfzi4g79pxj6zxajh800j8zsi3nqj5q49swykc6mn2143nkh05")))) + (build-system cmake-build-system) + (arguments + ;; No tests + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (inc (string-append out "/include")) + (lib (string-append out "/lib"))) + (install-file "libIODash.a" lib) + (with-directory-excursion "../source" + (install-file "IODash.hpp" inc) + (install-file + "cpp_modules/portable-endian/portable-endian.h" inc) + (copy-recursively "IODash" + (string-append inc "/IODash"))))))))) + (home-page "https://github.com/YukiWorkshop/IODash") + (synopsis "Lightweight C++ I/O library for POSIX operation systems") + (description "@code{IODash} is a C++ library for POSIX operation sys= tems.") + (license license:expat)))) + (define-public magic-enum (package (name "magic-enum") --=20 2.33.0 --=20 Alexandr Vityazev