From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yKTOGeJ/TmJxzwAAgWs5BA (envelope-from ) for ; Thu, 07 Apr 2022 08:08:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YN97EuJ/TmK3igAAG6o9tA (envelope-from ) for ; Thu, 07 Apr 2022 08:08:34 +0200 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 D8BF1A71D for ; Thu, 7 Apr 2022 08:08:33 +0200 (CEST) Received: from localhost ([::1]:53462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncLJo-0007zQ-5X for larch@yhetil.org; Thu, 07 Apr 2022 02:08:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncLIM-0007Ov-9B for guix-patches@gnu.org; Thu, 07 Apr 2022 02:07:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncLIL-0003AH-WA for guix-patches@gnu.org; Thu, 07 Apr 2022 02:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncLIL-0002n5-Mn for guix-patches@gnu.org; Thu, 07 Apr 2022 02:07:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54757] [PATCH] gnu: Add librseq. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Apr 2022 06:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54757 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Olivier Dion , 54757@debbugs.gnu.org Received: via spool by 54757-submit@debbugs.gnu.org id=B54757.164931159110690 (code B ref 54757); Thu, 07 Apr 2022 06:07:01 +0000 Received: (at 54757) by debbugs.gnu.org; 7 Apr 2022 06:06:31 +0000 Received: from localhost ([127.0.0.1]:59514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncLHq-0002mM-Og for submit@debbugs.gnu.org; Thu, 07 Apr 2022 02:06:31 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:5260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncLHi-0002m5-64 for 54757@debbugs.gnu.org; Thu, 07 Apr 2022 02:06:29 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4KYrVM01kLz1LWpd; Thu, 7 Apr 2022 08:06:18 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4KYrVM01kLz1LWpd DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1649311579; bh=2FJiK8TQklk+XaVeA0CKk2Xhhr44ocv4n1bb42PHOIg=; h=Subject:From:To:Date:In-Reply-To:References:From; b=BZfeuoNi5b5W+YLN8+vyH0Bc8EjXEHOHZj3VGGD5j5L+3ricUH6NWOiasSGP1tf4F DcZ70jVAlt0JUtIHCEr5nlZGPXOB1v2cxYfaq+pLCgr1sySjsgnJ+uWVm/OpZgyVWI jsBg1qRCL3JImaH69m+JlellQAEaGIgXgyi8nr94= Message-ID: From: Liliana Marie Prikler Date: Thu, 07 Apr 2022 08:06:18 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649311714; 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=2FJiK8TQklk+XaVeA0CKk2Xhhr44ocv4n1bb42PHOIg=; b=Qz95IbeDpoX8mteOrKr+rW5zKA42+UrDasgTW4F9KfdlRd0YQ4JN3O20P40Apd7LDL00aW 9uP8WLgqV2j9zkZYSNHFh0ZK1gfjPhL4d0taXPT2G9ljKwM0TedWzFq56gsmi45cKL5QKZ Qc6y1UZI9pK1lJAtsOg0mPzREfkEWQkh12iPAuOE74zm+xE14IdH+aaBkBZ0V3fpIWzLCF o4uZtnqUWzYJNHWNuGUM0fUs6GT+8N2HeppQt5JgGXJMdp+tM7TkC77dnI5777Y9OVZQon GhCLP26Fb3hNFJ6X4D+e3+aMgxIpMGbB6n8r9/9b/+ffZVMNBTgd9q/gaF4vhQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649311714; a=rsa-sha256; cv=none; b=bFV8JRFxNGDXDYFkDQwycCkwaqEmEz9lgGFnY0NsOFb165h3iuxfD4nTK5pEZUper7q4OB sfNVqo1RbqvXqs+FoZ8U7IeHhW44FStnShNoLEoJBrRQz9+HNhChoii8cL03UvObx0QUab C5WV9nkFk/bIq7kUcO8vSsMYoQAQYjnEidpv4JSSf1UHmb59C+dox6q1u07w1y6QBAacw5 DXPfT6a3Nf53v8CNrvTSdizlntLposjOGKX75hRkHd69eBpXexl44lnln9gdZUY3bF8fFD 39vzxGzvHxW5oP1qF6FC2pN51ymQ9v7i+a5WuDWt7AUCpBseNWQ55GECOoXJ0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=BZfeuoNi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); 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" X-Migadu-Spam-Score: 5.73 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=BZfeuoNi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); 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" X-Migadu-Queue-Id: D8BF1A71D X-Spam-Score: 5.73 X-Migadu-Scanner: scn1.migadu.com X-TUID: 4fxQvVwsHkLo Am Mittwoch, dem 06.04.2022 um 19:30 -0400 schrieb Olivier Dion: > * gnu/packages/engineering.scm (librseq): New variable. > --- >  gnu/packages/engineering.scm | 25 +++++++++++++++++++++++++ >  1 file changed, 25 insertions(+) > > diff --git a/gnu/packages/engineering.scm > b/gnu/packages/engineering.scm > index cb721ddd2e..9b0a917f8e 100644 > --- a/gnu/packages/engineering.scm > +++ b/gnu/packages/engineering.scm > @@ -1148,6 +1148,31 @@ (define-public kicad-templates >      (description "This package contains the official KiCad project > and >  worksheet templates."))) >   > +(define-public librseq > +  (let ((commit "170f840b498e1aff068b90188727a656111bfc2f") > +        (hash > "0rdx59y8y9x8cfmmx5gl66gibkzpk3kw5lrrqhrxan8zr37a055y")) Missing revision. Also specify why a non-release commit is used. > +    (package > +      (name "librseq") > +      (version "0.0.0") Use git-version. > +      (source (origin > +                (method git-fetch) > +                (uri (git-reference > +                      (url "https://github.com/compudj/librseq.git") > +                      (commit commit))) > +                (file-name (git-file-name name version)) > +                (sha256 (base32 hash)))) Type out hash. > +      (build-system gnu-build-system) > +      (native-inputs (list autoconf automake libtool)) > +      (propagated-inputs (list linux-libre-headers)) > +      (home-page "https://github.com/compudj/librseq") > +      (synopsis "Userspace library for restartable sequences") > +      (description "A restartable sequence is a critical region > delimited by a > +program where if the execution its preempted or interrupted, the > kernel will > +divert the program control flow to a custom handler.  They are a > good > +alternative to atomic operations for critical fast paths and are > usually used > +in the context of per-cpu data.") > +      (license (list license:lgpl2.1 license:expat))))) > + Cheers