From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wFYPFniXwGb87gAAqHPOHw:P1 (envelope-from ) for ; Sat, 17 Aug 2024 12:28:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id wFYPFniXwGb87gAAqHPOHw (envelope-from ) for ; Sat, 17 Aug 2024 14:28:40 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=cC+88+d1; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=TusqafzA; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723897720; 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=GbAmqw5pcX/X1py+SCmobaWaz0Argj6zrIIp1R7N0aA=; b=lYoWLjR5UVPYBA3AYYVfHvy2ZGusdAnl/Mn/l8niO5rzd+w+yU4h6udcfgQ+TgSfei3yhB xYlXArx8oWECKIVKWkZ6HZDLtxeEfjV79yH66KgAgXzGBIe+tGoY2QVYg53FJdbMC/s/Yw MJ/CZPvDvyfhgbTb30BDMp6jTuLVy9oXT5ddH0rpOXhDikOng+VsYssYLBRdEyJGy4pIMM dozT7ys3MG66hJRhif2tOiLTImC0NIoKow1DlJxnkXhFaUGcqHmeQQ45HIVUXzRIP9ulRy YnD+g7BdZI9h0m/QVTqwwyuiUep5+xIe0bnS84Di7Mtsnk7sC+mRJALSF12X9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=cC+88+d1; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=TusqafzA; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723897720; a=rsa-sha256; cv=none; b=CqySVYSX8c39x695aZEsZ1Zeu9JBKMo+CXargkBPsaDJCQVGs8JLJFeytZHndnuzXWl7Xv izUZGgpmZHFdVzkazZ215D40dDp5llKgHVeKeJnWwI77iUCi9n/zryjFcfWsjdes8RLg0d fep0eqUYnQjZ2FCpbctLmSG163uomWIslWqRvWXe+mPCXIBV3TCVtyzjC6tKw65yz42A1/ OtZ00Vx4tl2Bp24WxMsEqiEfYzySs19L6Fch5EyPYj8SoZkwfD2lGzIXPreOVRx8X4m6Mo 7XgNyUXnXYlkaFM1q3gvrjvJflQNXGHQIcyx0Mc2CFpr+1RT9UpjLUgP41f+Ig== 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 6BD306BEF8 for ; Sat, 17 Aug 2024 14:28:37 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfIXh-0000Bu-MW; Sat, 17 Aug 2024 08:28:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sfIXg-0000BV-9t for guix-patches@gnu.org; Sat, 17 Aug 2024 08:28:24 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sfIXf-0004DD-U4 for guix-patches@gnu.org; Sat, 17 Aug 2024 08:28:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=GbAmqw5pcX/X1py+SCmobaWaz0Argj6zrIIp1R7N0aA=; b=cC+88+d1s0vvpZAttl8q5mtkNEwhTF2kvH+6sdaHWzIjz3dKdF1FHRDo533s+XttRNclFIz3oqPq2Qu7+ByYownRmWMWJKmjF3DZWlpButHMPovL33Zxs/WG4RLSnuwHZY+W0d6Ufx8r4rEvtKTYOfx30xc/hI1ux8I6j0524CEDyR3EQ7G+h5i3QOUazevy+6y1S3wkW4xDZEMymdNUSFgFu+zcUtHhx3pD1keOlbWvrOTYz81E3Oxhf2wUDj96tTiwS9YL10EFAPHdYjf5QQ13XKO9LB1KGi69GEedIXKBFsAcpYVAFZcrGx3e73nekvwG4FkfFn3JelItm7wr4w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfIYI-0007Oa-F0 for guix-patches@gnu.org; Sat, 17 Aug 2024 08:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72569] [PATCH 2/4] gnu: Add sort-h. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Aug 2024 12:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72569 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Adam Faiz , 72569@debbugs.gnu.org Received: via spool by 72569-submit@debbugs.gnu.org id=B72569.172389768428358 (code B ref 72569); Sat, 17 Aug 2024 12:29:02 +0000 Received: (at 72569) by debbugs.gnu.org; 17 Aug 2024 12:28:04 +0000 Received: from localhost ([127.0.0.1]:53643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfIXM-0007NJ-8a for submit@debbugs.gnu.org; Sat, 17 Aug 2024 08:28:04 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:49474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfIXK-0007Ml-Ee for 72569@debbugs.gnu.org; Sat, 17 Aug 2024 08:28:03 -0400 Received: by mail-ed1-f66.google.com with SMTP id 4fb4d7f45d1cf-5bed05c0a2fso1508430a12.3 for <72569@debbugs.gnu.org>; Sat, 17 Aug 2024 05:27:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723897577; x=1724502377; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=GbAmqw5pcX/X1py+SCmobaWaz0Argj6zrIIp1R7N0aA=; b=TusqafzA0+rtpbBv9P2me6AwAMjZ4izGw5Pt5+hAdTl2GuK6W+KeczHyuhBAJWlHwW 0uN8LL9fFrJ8yg9AMHBaMEmDxBs6NFYAoAPsq0YdqUcQqmwL8O4/g6oa37lG4hg+bbFv 9qVTWrh4Q4us2CL4hifmAk8k/fMQErkR9zEQzcbRTpNnVwLXr38cFAKxkjTrCcQk/Kqw kRFzlRvEaXisipjz1jkljGTolgiau+BvMjEOZHYRrHw6j5sB3qj/g+Rk5MiLim1dVzrC yS+3JzD7+EGB3DjmszRoVAJNyMHuo8Szo8aV21fdQO7cRNooDpW0jJ58dWNR7n9m4uH2 jpWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723897577; x=1724502377; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=GbAmqw5pcX/X1py+SCmobaWaz0Argj6zrIIp1R7N0aA=; b=JaikIG8d3pWhpvjfQBwB1AQGzMnLwUDkMnd1NL5Ecbc+u7FQVyFpu0cRLvuF+PgrSp dE2Mzgktx3LS1Zob3a0Heg2tNFpXllDSh/yOzVmqdMY5SNpGF5b+1Vjs1/Kbt85QnLgp He2gcFu9trSeyepLgrJ4XvZyRzRchVhRY4qLtEeNibEuEr+DcpxMUYkdYjO6QWj8kRiI 1lNuMAvLBaSEztUP6mSFJSUpoxScdRuUlqkTfcp6PqTAcdMdYJ8WnKGQqqCgtx2fWA3b UDw6wIGeNZE5EwjYNjI1N6A2pdZwLnhs5FtaZmsePIRyW3KYMUC7MAxPKgNHkgIXD7ti rR6Q== X-Forwarded-Encrypted: i=1; AJvYcCUCUa7E8xRG0rS/uSbxh8zS3pTSRCu0QxYoYhvbx0Ow0Q0xPi6Oz3np3JMw1EbHhMvsjb7kfk9gA84wCB3S+yS5mepTE0A= X-Gm-Message-State: AOJu0YyQ1UhM7PTmFZxPUuhDY2p4q3UdjbtWry0NmopoBYkfP2YEaWtZ 6dXpGH/m7pfTgxyAIVztU2StZ2BrFFO0qQP7IxPuZgeuy5G0hz9Zv4wJFd80 X-Google-Smtp-Source: AGHT+IEWvaxXAlXNjlKN8Ton2lzfF6bujWaN2gRDVDhgHIuynulBCOgdR9VVzyYupnA2xJERbVdzRQ== X-Received: by 2002:a17:907:7f26:b0:a77:c080:11fa with SMTP id a640c23a62f3a-a8392a03b71mr416326166b.48.1723897577320; Sat, 17 Aug 2024 05:26:17 -0700 (PDT) Received: from lumine.fritz.box (85-127-20-124.dsl.dynamic.surfer.at. [85.127.20.124]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a83838c6c12sm400221166b.14.2024.08.17.05.26.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Aug 2024 05:26:16 -0700 (PDT) Message-ID: <21997ed6d699293c38f73415dc8978fff8798f62.camel@gmail.com> From: Liliana Marie Prikler Date: Sat, 17 Aug 2024 14:26:15 +0200 In-Reply-To: <21cba819-e142-80aa-43d2-60e27178aa95@disroot.org> References: <21cba819-e142-80aa-43d2-60e27178aa95@disroot.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 MIME-Version: 1.0 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 6BD306BEF8 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -8.91 X-Spam-Score: -8.91 X-TUID: Zh6/2bIAopno Am Sonntag, dem 11.08.2024 um 13:17 +0800 schrieb Adam Faiz: > +(define-public sort-h > + ;; The latest commit is used as there is no release. > + (let ((commit "24f5b8b13810ad130109c7b56daf8e99ab0fe1b8") > + (revision "0")) > + (package > + (name "sort-h") I'd call this one c-template-sort, after the "subject" on Github. > + (version (git-version "0.0.0" revision commit)) > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/swenson/sort") > + (commit commit))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + =20 > "0q3pgw51rjq7pb6gc7zx9i48pckyl930lcab4ngxrpa5a8flq850")) > + (modules '((guix build utils))) > + (snippet > + #~(begin > + (substitute* "Makefile" > + (("^demo:" all) > + (string-append > + "install:\n\t" > + "install -d $(DESTDIR)$(PREFIX)/include\n\t" > + "install sort.h > $(DESTDIR)$(PREFIX)/include\n\t" > + "install sort_extra.h > $(DESTDIR)$(PREFIX)/include\n\n" > + all))))))) Note: this package might be a better fit for copy-build-system. You can still have a check phase, but I think you'll benefit from the install plan. > + (build-system gnu-build-system) > + (arguments > + (list > + #:make-flags > + #~(list > + (string-append "CC=3D" #$(cc-for-target)) > + (string-append "PREFIX=3D" #$output)) > + #:test-target "test" > + #:phases > + #~(modify-phases %standard-phases > + (delete 'configure) > + (delete 'build)))) > + (home-page "https://github.com/swenson/sort") > + (synopsis "C implementation of many sorting algorithms") > + (description "@code{sort.h} is an implementation of a ton of > sorting > +algorithms in C with a user-defined type that is provided at include > time.") I'd say something like "This package provides a header-only C library, that implements several sorting algorithms. It is configured using macros and supports user-defined types." Cheers