From af9b878206080041fb21ee317bc7c7c47777ae34 Mon Sep 17 00:00:00 2001 From: Jack Hill Date: Sat, 15 May 2021 00:45:28 -0400 Subject: [PATCH 7/7] gnu: Add janet-posix-spawn. * gnu/packages/jaent-xyz.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. --- gnu/local.mk | 1 + gnu/packages/janet-xyz.scm | 42 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 gnu/packages/janet-xyz.scm diff --git a/gnu/local.mk b/gnu/local.mk index 1f66a97030..577f6df609 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -299,6 +299,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/irc.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 index 0000000000..91f7be288a --- /dev/null +++ b/gnu/packages/janet-xyz.scm @@ -0,0 +1,42 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 Jack Hill +;;; +;;; 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 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))) -- 2.31.1