From patchwork Fri Feb 12 21:51:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Reich=C3=B6r?= X-Patchwork-Id: 27013 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 85B8B27BC2E; Fri, 12 Feb 2021 21:53:56 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3BB5C27BC27 for ; Fri, 12 Feb 2021 21:53:55 +0000 (GMT) Received: from localhost ([::1]:52116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAgNu-0007hZ-Dm for patchwork@mira.cbaines.net; Fri, 12 Feb 2021 16:53:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAgN4-0007gW-SI for guix-patches@gnu.org; Fri, 12 Feb 2021 16:53:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49842) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAgN4-0002rz-KI for guix-patches@gnu.org; Fri, 12 Feb 2021 16:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lAgN4-0000Gu-J8 for guix-patches@gnu.org; Fri, 12 Feb 2021 16:53:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46471] [PATCH 2/2] gnu: Add run. Resent-From: Stefan =?utf-8?q?Reich=C3=B6r?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Feb 2021 21:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46471 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46471@debbugs.gnu.org Cc: Stefan =?utf-8?q?Reich=C3=B6r?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1613166733975 (code B ref -1); Fri, 12 Feb 2021 21:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2021 21:52:13 +0000 Received: from localhost ([127.0.0.1]:33153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAgMH-0000Fa-81 for submit@debbugs.gnu.org; Fri, 12 Feb 2021 16:52:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:53066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAgME-0000FI-VA for submit@debbugs.gnu.org; Fri, 12 Feb 2021 16:52:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAgME-0007OJ-LL for guix-patches@gnu.org; Fri, 12 Feb 2021 16:52:10 -0500 Received: from dd3624.kasserver.com ([85.13.130.11]:36744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAgMC-0002WG-E7 for guix-patches@gnu.org; Fri, 12 Feb 2021 16:52:10 -0500 Received: from localhost (217-149-162-201.nat.highway.telekom.at [217.149.162.201]) by dd3624.kasserver.com (Postfix) with ESMTPA id B54C25D432FC; Fri, 12 Feb 2021 22:52:04 +0100 (CET) From: Stefan =?utf-8?q?Reich=C3=B6r?= Date: Fri, 12 Feb 2021 22:51:54 +0100 Message-Id: <20210212215154.81746-2-stefan@xsteve.at> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210212215154.81746-1-stefan@xsteve.at> References: <20210212215154.81746-1-stefan@xsteve.at> MIME-Version: 1.0 Received-SPF: none client-ip=85.13.130.11; envelope-from=stefan@xsteve.at; helo=dd3624.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/task-runners.scm (run): New variable. --- I didn't find a good fit for this package. I considered build-tools.scm or parallel.scm. Therefor I created task-runners.scm. I will most likely add some more into this file in the future. I am not sure, if adding the new file to local.mk is all that is needed for a new packages .scm file. gnu/local.mk | 1 + gnu/packages/task-runners.scm | 48 +++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 gnu/packages/task-runners.scm diff --git a/gnu/local.mk b/gnu/local.mk index 0625c6c5eb..2b782e411c 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -533,6 +533,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/synergy.scm \ %D%/packages/syndication.scm \ %D%/packages/task-management.scm \ + %D%/packages/task-runners.scm \ %D%/packages/tbb.scm \ %D%/packages/tcl.scm \ %D%/packages/telegram.scm \ diff --git a/gnu/packages/task-runners.scm b/gnu/packages/task-runners.scm new file mode 100644 index 0000000000..150a377204 --- /dev/null +++ b/gnu/packages/task-runners.scm @@ -0,0 +1,48 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 Stefan Reichör +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages task-runners) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (gnu packages golang) + #:use-module (guix build-system go)) + +(define-public run + (package + (name "run") + (version "0.7.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/TekWizely/run") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "17n11lqhywq4z62w2rakdq80v7mxf83rgln19vj4v4nxpwd2hjjw")))) + (build-system go-build-system) + (propagated-inputs + `(("go-github-com-tekwizely-go-parsing" ,go-github-com-tekwizely-go-parsing))) + (arguments + `(#:import-path "github.com/tekwizely/run")) + (synopsis "Easily manage and invoke small scripts and wrappers") + (description "Easily manage and invoke small scripts and wrappers by using +a Runfile.") + (home-page "https://github.com/TekWizely/run") + (license license:expat)))