* [bug#47029] [PATCH] gnu: Add xe.
@ 2021-03-09 21:50 Stefan Reichör
2021-03-13 12:47 ` bug#47029: " Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Reichör @ 2021-03-09 21:50 UTC (permalink / raw)
To: 47029; +Cc: Stefan Reichör
* gnu/packages/parallel.scm (xe): New variable.
---
gnu/packages/parallel.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm
index ab4450c24e..8816844368 100644
--- a/gnu/packages/parallel.scm
+++ b/gnu/packages/parallel.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2019, 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2020 Roel Janssen <roel@gnu.org>
+;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35,6 +36,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module ((guix utils) #:select (target-64bit?))
#:use-module (guix packages)
+ #:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages admin)
#:use-module (gnu packages autotools)
@@ -105,6 +107,34 @@ or more computers. Jobs can consist of single commands or of scripts
and they are executed on lists of files, hosts, users or other items.")
(license license:gpl3+)))
+(define-public xe
+ (package
+ (name "xe")
+ (version "0.11")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/leahneukirchen/xe")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "04jr8f6jcijr0bsmn8ajm0aj35qh9my3xjsaq64h8lwg5bpyn29x"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f
+ #:make-flags (list (string-append "CC=" ,(cc-for-target))
+ (string-append "PREFIX=" %output))
+ #:phases (modify-phases %standard-phases
+ (delete 'configure))))
+ (synopsis "Execute a command for every argument")
+ (description
+ "The xe utility constructs command lines from specified arguments,
+combining some of the best features of xargs(1) and apply(1). Parallel
+execution is also possible.")
+ (home-page "https://github.com/leahneukirchen/xe")
+ (license license:public-domain)))
+
(define-public slurm
(package
(name "slurm")
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-13 12:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-09 21:50 [bug#47029] [PATCH] gnu: Add xe Stefan Reichör
2021-03-13 12:47 ` bug#47029: " 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).