gnu: Add janet-posix-spawn.
authorJack Hill <jackhill@jackhill.us>
Sat, 15 May 2021 04:45:28 +0000 (00:45 -0400)
committerJack Hill <jackhill@jackhill.us>
Tue, 15 Jun 2021 15:26:48 +0000 (11:26 -0400)
* gnu/packages/jaent-xyz.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

gnu/local.mk
gnu/packages/janet-xyz.scm [new file with mode: 0644]

index 4eedfac..8460c23 100644 (file)
@@ -301,6 +301,7 @@ GNU_SYSTEM_MODULES =                                \
   %D%/packages/irods.scm                       \
   %D%/packages/iso-codes.scm                   \
   %D%/packages/jami.scm                                \
+  %D%/packages/janet-xyz.scm                           \
   %D%/packages/java.scm                                \
   %D%/packages/java-compression.scm            \
   %D%/packages/java-graphics.scm               \
diff --git a/gnu/packages/janet-xyz.scm b/gnu/packages/janet-xyz.scm
new file mode 100644 (file)
index 0000000..91f7be2
--- /dev/null
@@ -0,0 +1,42 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2021 Jack Hill <jackhill@jackhill.us>
+;;;
+;;; 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 janet-xyz)
+  #:use-module (guix packages)
+  #:use-module (guix git-download)
+  #:use-module (guix build-system janet)
+  #:use-module ((guix licenses) #:prefix license:))
+
+(define-public janet-posix-spawn
+  (package
+    (name "janet-posix-spawn")
+    (version "0.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/andrewchambers/janet-posix-spawn")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0jgj6my0jsz8r3wjczasm2bw56gv9i9mfrnl8697csb7mhg3si5b"))))
+    (build-system janet-build-system)
+    (home-page "https://github.com/andrewchambers/janet-posix-spawn")
+    (synopsis "Posix spawn for Jante")
+    (description "Janet library implementing posix spawn.")
+    (license license:expat)))