all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: 39119@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#39119] [PATCH 1/9] gnu: Add node-env-variable.
Date: Mon, 13 Jan 2020 22:04:39 +0200	[thread overview]
Message-ID: <20200113200447.5490-1-efraim@flashner.co.il> (raw)
In-Reply-To: <20200113200137.GF858@E5400>

* gnu/packages/node-xyz.scm (node-env-variable): New variable.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register it.
---
 gnu/local.mk              |  1 +
 gnu/packages/node-xyz.scm | 46 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)
 create mode 100644 gnu/packages/node-xyz.scm

diff --git a/gnu/local.mk b/gnu/local.mk
index cb46ee7880..c2cf68a7d2 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -367,6 +367,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/nim.scm  			\
   %D%/packages/ninja.scm			\
   %D%/packages/node.scm				\
+  %D%/packages/node-xyz.scm			\
   %D%/packages/noweb.scm			\
   %D%/packages/nss.scm				\
   %D%/packages/ntp.scm				\
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
new file mode 100644
index 0000000000..896c0628a6
--- /dev/null
+++ b/gnu/packages/node-xyz.scm
@@ -0,0 +1,46 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
+;;;
+;;; 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 node-xyz)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (guix git-download)
+  #:use-module (guix build-system node))
+
+(define-public node-env-variable
+  (package
+    (name "node-env-variable")
+    (version "0.0.4")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/bigpipe/env-variable")
+               (commit version)))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32
+          "0nnpxjxfhy4na7fixb7p3ww6ard5xgggfm83b78i333867r4gmsq"))))
+    (build-system node-build-system)
+    (arguments '(#:tests? #f)) ; No tests.
+    (home-page "https://github.com/bigpipe/env-variable")
+    (synopsis "Environment variables for Node with fallbacks")
+    (description "This package provides environment variables with
+@code{process.env}, @code{window.name}, @code{location.hash} and
+@code{localStorage} fallbacks.")
+    (license license:expat)))
-- 
2.24.1

  reply	other threads:[~2020-01-13 20:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-13 20:01 [bug#39119] [PATCH] Some node packages Efraim Flashner
2020-01-13 20:04 ` Efraim Flashner [this message]
2020-01-13 20:04 ` [bug#39119] [PATCH 2/9] gnu: Add node-long-stack-traces Efraim Flashner
2020-01-13 20:04 ` [bug#39119] [PATCH 3/9] gnu: Add node-mersenne Efraim Flashner
2020-01-13 20:04 ` [bug#39119] [PATCH 4/9] gnu: Add node-statsd-parser Efraim Flashner
2020-01-13 20:04 ` [bug#39119] [PATCH 5/9] gnu: Add node-util-deprecate Efraim Flashner
2020-01-13 20:04 ` [bug#39119] [PATCH 6/9] gnu: Add node-oop Efraim Flashner
2020-01-13 20:04 ` [bug#39119] [PATCH 7/9] gnu: Add node-far Efraim Flashner
2020-01-13 20:04 ` [bug#39119] [PATCH 8/9] gnu: Add node-stack-trace Efraim Flashner
2020-01-13 20:04 ` [bug#39119] [PATCH 9/9] gnu: Add node-color-name Efraim Flashner
2020-01-20  7:44 ` bug#39119: [PATCH] Some node packages Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200113200447.5490-1-efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=39119@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.