From patchwork Mon Nov 11 11:35:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Evgeny Pisemsky X-Patchwork-Id: 70259 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 28C4427BBEA; Mon, 11 Nov 2024 11:36:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,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 4BB3B27BBE2 for ; Mon, 11 Nov 2024 11:36:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tASiD-00023F-8H; Mon, 11 Nov 2024 06:36:05 -0500 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 1tASiA-000233-B9 for guix-patches@gnu.org; Mon, 11 Nov 2024 06:36:02 -0500 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 1tASiA-0004N8-2U for guix-patches@gnu.org; Mon, 11 Nov 2024 06:36:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=oEVDXhOkRGh8MscCYrYShH+J743JW9NNFjoU2p6JYAA=; b=L2AdvRygngdzijCW0dk8CZp41W/AHa3r7vcwjOccr2cPlTxUzz0Fo9Mp206YwBglb6ClxkCG77csA5pdTO4PQzt27qK9e6+q66EwRtExdsn1x/ugWjPowziupKUbAuZGLPu859MXs8MA4DxdHwEguGM3ExCqMKI9Tf5kvKFrbMC/R4dpFn+QAQlmWZXyJHmWq5rVz9TbLSRGRZnxTlkAvMZvk+h2Ic9H59/SOTfl47KzUAH+Qsh1hAhV7kAC31mXDUw4EaH3jF7a6DiNrU1KFfDMH/a+U7Sh7wt6nS5ZdsBn9pitQPLamUGlIOrYbyBMFkUZFMH4f/9ngpTp8s/v7Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tASi9-0003Tq-Sm for guix-patches@gnu.org; Mon, 11 Nov 2024 06:36:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74310] [PATCH] gnu: Add potato-make. Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Nov 2024 11:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74310 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74310@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173132493513336 (code B ref -1); Mon, 11 Nov 2024 11:36:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Nov 2024 11:35:35 +0000 Received: from localhost ([127.0.0.1]:58480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAShi-0003T2-Ov for submit@debbugs.gnu.org; Mon, 11 Nov 2024 06:35:35 -0500 Received: from lists.gnu.org ([209.51.188.17]:55770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAShg-0003Su-OE for submit@debbugs.gnu.org; Mon, 11 Nov 2024 06:35:33 -0500 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 1tAShg-00021z-I2 for guix-patches@gnu.org; Mon, 11 Nov 2024 06:35:32 -0500 Received: from roxy-shared.hosting.energy ([137.74.182.160] helo=roxy.hosting.energy) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAShe-0004Lt-Q2 for guix-patches@gnu.org; Mon, 11 Nov 2024 06:35:32 -0500 Received: from [212.233.84.121] (helo=laptop) by roxy.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1tAShM-000000004MJ-2Ub4 for guix-patches@gnu.org; Mon, 11 Nov 2024 14:35:12 +0300 From: Evgeny Pisemsky Date: Mon, 11 Nov 2024 14:35:12 +0300 Message-ID: <87msi6uhov.fsf@pisemsky.site> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Disposition: inline; filename=0001-gnu-Add-potato-make.patch Received-SPF: pass client-ip=137.74.182.160; envelope-from=mail@pisemsky.site; helo=roxy.hosting.energy X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_FAIL=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From 8e41b5222349495b1589a11f0ae2fc463124f17b Mon Sep 17 00:00:00 2001 Message-ID: <8e41b5222349495b1589a11f0ae2fc463124f17b.1731324699.git.mail@pisemsky.site> From: Evgeny Pisemsky Date: Mon, 11 Nov 2024 14:30:00 +0300 Subject: [PATCH] gnu: Add potato-make. * gnu/packages/build-tools.scm (potato-make): New variable. Change-Id: I86843b4001298ee984e6d1c35b59dc3b2e51d97f --- gnu/packages/build-tools.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 21df25e4f5..32c65819c6 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2021 qblade ;;; Copyright © 2021, 2023, 2024 Maxim Cournoyer ;;; Copyright © 2022, 2023 Juliana Sims +;;; Copyright © 2024 Evgeny Pisemsky ;;; ;;; This file is part of GNU Guix. ;;; @@ -41,6 +42,7 @@ (define-module (gnu packages build-tools) #:use-module (guix git-download) #:use-module (guix build-system cmake) #:use-module (guix build-system copy) + #:use-module (guix build-system guile) #:use-module (guix modules) #:use-module (gnu packages) #:use-module (gnu packages adns) @@ -54,6 +56,7 @@ (define-module (gnu packages build-tools) #:use-module (gnu packages cppi) #:use-module (gnu packages elf) #:use-module (gnu packages gcc) + #:use-module (gnu packages guile) #:use-module (gnu packages linux) #:use-module (gnu packages lisp) #:use-module (gnu packages logging) @@ -1042,3 +1045,36 @@ (define-public pdpmake ;; pdpmake is distributed under the public domain, but the sources include ;; tests under the GPL license version 2. (license (list license:gpl2 license:public-domain)))) + +(define-public potato-make + (let ((commit "e8c09ce1f6a33c013b27961b0a07f991db33e6fb") + (revision "0")) + (package + (name "potato-make") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/spk121/potato-make") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0axgrkqdfip5f2bp7d2dprd74g58lyc0c7lgg2m93k5jqn1lpbmj")) + ;; Delete files of the seemingly unfinished pmake program. + (snippet '(begin + (delete-file "pmake") + (delete-file "documents/pmake.org") + (delete-file "make/main.scm") + (rmdir "documents") + (rmdir "make"))))) + (build-system guile-build-system) + (native-inputs (list guile-3.0)) + (home-page "https://github.com/spk121/potato-make") + (synopsis "Library to write makefiles in Guile Scheme") + (description + "Potato Make is a scheme library that aims to simplify the task of +maintaining, updating, and regenerating programs. It is inspired by +the POSIX make utility and allows to write a build script in Guile +Scheme.") + (license license:expat)))) base-commit: 9cdcfb52ace77fe3b497b21deb639a3027ff02f0 -- 2.46.0