From patchwork Sat May 10 08:20:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 42501 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 37FD527BC4B; Sat, 10 May 2025 09:22:23 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 85B0827BC49 for ; Sat, 10 May 2025 09:22:22 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uDfTA-0002UJ-9n; Sat, 10 May 2025 04:22:04 -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 1uDfT8-0002Tv-8p for guix-patches@gnu.org; Sat, 10 May 2025 04:22:02 -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 1uDfT7-00032H-Tu for guix-patches@gnu.org; Sat, 10 May 2025 04:22:02 -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=+PcbfIlZCGVxFcBA8tYekGyL3y6qhMKpUgEKAz0ZESA=; b=tv/TseGZSOMac02GjUcyrYHy2NWgs7bEOh7nz0zPBVaHhrQaXygZP0x8leBy8xKzprcVzAa2l42Jz0322/ycly5FPlJgfjTZKdYKAt+sOGZGeHMED4c0mQ8LWfvcVbuPEEpxhOzu2mSbYYMeDdrX0nwx2Bs0FbmzznOyUXkyFAdKE4iPEw7IhOb75nLU1dhYAvKcTypzbDXQMwoKA8A6ORzSY4/zmijUpHCSFSoKYV69EPg3EOrv4iOV0+Abk8Pwbe+ogDwvzoMGs3RvtwX+6BnrAgOy4+1koXWXQJpRyXEtt3NuKSJsPYEUyFii8Kt+zTsouuSJXmWZaGuBl/ZtrA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uDfT7-0001IN-PI for guix-patches@gnu.org; Sat, 10 May 2025 04:22:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78347] [PATCH 1/2] gnu: Add pps-tools. Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 10 May 2025 08:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78347 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78347@debbugs.gnu.org Cc: Ahmad Draidi Received: via spool by 78347-submit@debbugs.gnu.org id=B78347.17468652924888 (code B ref 78347); Sat, 10 May 2025 08:22:01 +0000 Received: (at 78347) by debbugs.gnu.org; 10 May 2025 08:21:32 +0000 Received: from localhost ([127.0.0.1]:43542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uDfSd-0001Gm-SW for submit@debbugs.gnu.org; Sat, 10 May 2025 04:21:32 -0400 Received: from rivercloud.ext.redscript.org ([181.214.58.244]:38750) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uDfSZ-0001GN-5D for 78347@debbugs.gnu.org; Sat, 10 May 2025 04:21:30 -0400 DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=redscript.org; s=mail2-ed25519-2024; t=1746865280; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+PcbfIlZCGVxFcBA8tYekGyL3y6qhMKpUgEKAz0ZESA=; b=mZImZPIyigf4PoVC6vzyjhpfKFfTW672mkUybfMMH6Agg+caRR+Wc3HlprTaeXA0XXDDHE MlSmXEYlYS7ZuNDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redscript.org; s=mail2-rsa-2024; t=1746865280; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+PcbfIlZCGVxFcBA8tYekGyL3y6qhMKpUgEKAz0ZESA=; b=vFAxxq2hO7B37UfWd91B2YMj0eS+bJwnVktxWl1hya7WtZK4+98mYIe0t+twhQfhahgTqn bJ0Nl5CCVUZr/a3K6jYG41JqhtUzKtQ9ZuPIvxTPDTuWWm4/sFFLNu65UF2BoEzZMC0z26 fLBxzFnSsHBhNf+/sc60d4lzvAW3FuU= Received: by rivercloud.ext.redscript.org (OpenSMTPD) with ESMTPSA id 0b677111 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 10 May 2025 08:21:19 +0000 (UTC) Date: Sat, 10 May 2025 12:20:23 +0400 Message-ID: <47c7242bb230aac863cf0b739e59a6fcd6a7813d.1746863945.git.a.r.draidi@redscript.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: References: 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: , Reply-to: Ahmad Draidi X-ACL-Warn: , Ahmad Draidi via Guix-patches X-Patchwork-Original-From: Ahmad Draidi via Guix-patches via From: Ahmad Draidi Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/time.scm (pps-tools): New variable. Change-Id: I06a10988acbf4dcd684721e1bee6a2d0c6f2dac6 --- gnu/packages/time.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 56053da5010..2a09efb1fc2 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -118,6 +118,46 @@ (define-public time to a file.") (license gpl3+))) +(define-public pps-tools + ;; Last tagged release was in 2021 + (let ((commit "e5083fe1481a34373dee2acfabb63001ee9c40e0") + (revision "1")) + (package + (name "pps-tools") + (version (git-version "1.0.3" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/redlab-i/pps-tools") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1q3yvkwgqzafpx940cgqjn0harziv9gix1k3r3ymidmip0i5z1cp")))) + (arguments + (list + #:tests? #f ;There is no test suite. + #:make-flags + #~(list "CC=gcc" + (string-append "DESTDIR=" %output)) + #:phases + #~(modify-phases %standard-phases + ;; No configure script + (delete 'configure) + (add-after 'unpack 'patch-makefile + (lambda _ + (substitute* "Makefile" + (("/usr/") + "/"))))))) + (build-system gnu-build-system) + (home-page "https://github.com/redlab-i/pps-tools") + (synopsis "User-space tools and headers for LinuxPPS") + (description + "This package includes the necessary headers for using +@url{http://linuxpps.org/, LinuxPPS} PPSAPI kernel interface in user-space +applications, and several support tools.") + (license gpl2+)))) + (define-public python-pytimeparse (package (name "python-pytimeparse")