unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#46470] [PATCH 1/2] gnu: Add go-github-com-tekwizely-go-parsing.
@ 2021-02-12 21:51 Stefan Reichör
  2021-02-12 21:51 ` [bug#46471] [PATCH 2/2] gnu: Add run Stefan Reichör
  2021-02-15 10:44 ` bug#46470: [PATCH 1/2] gnu: Add go-github-com-tekwizely-go-parsing Nicolas Goaziou
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Reichör @ 2021-02-12 21:51 UTC (permalink / raw)
  To: 46470; +Cc: Stefan Reichör

* gnu/packages/golang.scm (go-github-com-tekwizely-go-parsing): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d34bb1acb7..fee190228a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6644,6 +6644,30 @@ modifying them.")
 @end itemize")
     (license license:expat)))
 
+(define-public go-github-com-tekwizely-go-parsing
+  (let ((commit "1548cfb17df54d365ce9febed0677c06a40a8ceb")
+        (revision "0"))
+    (package
+      (name "go-github-com-tekwizely-go-parsing")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/tekwizely/go-parsing")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0bv5amka8hb9crc7qvlzi2kbycqrnh9d46b9wgcs8wqzl0z7w609"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/tekwizely/go-parsing"))
+      (home-page "https://github.com/tekwizely/go-parsing")
+      (synopsis "A Multi-Package Go Repo Focused on Text Parsing, with Lexers, Parsers, and Related Utils")
+      (description "A Multi-Package Go Repo Focused on Text Parsing, with Lexers, Parsers, and Related Utils")
+      (license license:expat))))
+
 (define-public go-github.com-ulikunitz-xz
   (package
     (name "go-github.com-ulikunitz-xz")
-- 
2.25.1





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#46471] [PATCH 2/2] gnu: Add run.
  2021-02-12 21:51 [bug#46470] [PATCH 1/2] gnu: Add go-github-com-tekwizely-go-parsing Stefan Reichör
@ 2021-02-12 21:51 ` Stefan Reichör
  2021-03-17 21:34   ` bug#46471: " Ludovic Courtès
  2021-02-15 10:44 ` bug#46470: [PATCH 1/2] gnu: Add go-github-com-tekwizely-go-parsing Nicolas Goaziou
  1 sibling, 1 reply; 4+ messages in thread
From: Stefan Reichör @ 2021-02-12 21:51 UTC (permalink / raw)
  To: 46471; +Cc: Stefan Reichör

* 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 <stefan@xsteve.at>
+;;;
+;;; 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 <http://www.gnu.org/licenses/>.
+
+(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)))
-- 
2.25.1





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#46470: [PATCH 1/2] gnu: Add go-github-com-tekwizely-go-parsing.
  2021-02-12 21:51 [bug#46470] [PATCH 1/2] gnu: Add go-github-com-tekwizely-go-parsing Stefan Reichör
  2021-02-12 21:51 ` [bug#46471] [PATCH 2/2] gnu: Add run Stefan Reichör
@ 2021-02-15 10:44 ` Nicolas Goaziou
  1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2021-02-15 10:44 UTC (permalink / raw)
  To: Stefan Reichör; +Cc: 46470-done

Hello,

Stefan Reichör <stefan@xsteve.at> writes:

> * gnu/packages/golang.scm (go-github-com-tekwizely-go-parsing): New
> variable.

I fixed the synopses and descriptions and applied both patches. 

Thank you.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#46471: [PATCH 2/2] gnu: Add run.
  2021-02-12 21:51 ` [bug#46471] [PATCH 2/2] gnu: Add run Stefan Reichör
@ 2021-03-17 21:34   ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2021-03-17 21:34 UTC (permalink / raw)
  To: Stefan Reichör; +Cc: 46471-done

Stefan Reichör <stefan@xsteve.at> skribis:

> * gnu/packages/task-runners.scm (run): New variable.

It was pushed as adae5d75b6029b5d034030cff24e1ba4d8b3144a so closing.

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-17 21:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-12 21:51 [bug#46470] [PATCH 1/2] gnu: Add go-github-com-tekwizely-go-parsing Stefan Reichör
2021-02-12 21:51 ` [bug#46471] [PATCH 2/2] gnu: Add run Stefan Reichör
2021-03-17 21:34   ` bug#46471: " Ludovic Courtès
2021-02-15 10:44 ` bug#46470: [PATCH 1/2] gnu: Add go-github-com-tekwizely-go-parsing Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).