unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] envstore-2.1
@ 2016-05-14 15:10 Matthew Jordan
  2016-05-15  0:14 ` Mark H Weaver
  0 siblings, 1 reply; 9+ messages in thread
From: Matthew Jordan @ 2016-05-14 15:10 UTC (permalink / raw)
  To: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 95 bytes --]


Good day all,

Submitting patch for envstore-2.1.
Let me know if I need to make any changes.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: envstore-2.1 package --]
[-- Type: text/x-patch, Size: 2063 bytes --]

From 8de06b6e26d9e1eb7bb7ef6df163f54a46db3d89 Mon Sep 17 00:00:00 2001
From: Matthew Jordan <matthewjordandevops@yandex.com>
Date: Thu, 12 May 2016 14:57:34 -0400
Subject: [PATCH] gnu: Added envstore package.

* gnu/package/enstore.scm: New file.
---
 gnu/packages/envstore.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 gnu/packages/envstore.scm

diff --git a/gnu/packages/envstore.scm b/gnu/packages/envstore.scm
new file mode 100644
index 0000000..e3ec99d
--- /dev/null
+++ b/gnu/packages/envstore.scm
@@ -0,0 +1,42 @@
+(define-module (gnu packages envstore)
+  #:use-module (guix)
+  #:use-module (guix packages)
+  #:use-module (guix build-system gnu)
+  #:use-module (gnu packages)
+  #:use-module (guix download)
+  #:use-module (guix utils)
+  #:use-module (guix licenses))
+
+(define-public envstore
+  (package
+    (name "envstore")
+    (version "2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/derf/" name "/archive/"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "097yd6w0fql8a3xh0gmz8bf40w61j4893rp8c28rngrrk80bk9a8"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:test-target "test"
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (replace 'build
+           (lambda _
+             (setenv "CC" (which "gcc"))
+             (system* "make")))
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (setenv "PREFIX" "/")
+               (setenv "DESTDIR" out)
+               (system* "make" "install")))))))
+    (home-page "https://finalrewind.org/projects/envstore/")
+    (synopsis "Save and restore environment variables")
+    (description "Envstore is a program for sharing environment variables
+between various shells or commands.")
+    (license
+     (non-copyleft "http://www.wtfpl.net/txt/copying/"))))
-- 
2.7.4


[-- Attachment #3: Type: text/plain, Size: 50 bytes --]


Sincerely,

-- 
Matthew Jordan
Sent with my mu4e

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

end of thread, other threads:[~2016-05-21 21:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-14 15:10 [PATCH] envstore-2.1 Matthew Jordan
2016-05-15  0:14 ` Mark H Weaver
2016-05-15 11:16   ` Matthew Jordan
2016-05-15 17:14     ` Efraim Flashner
2016-05-16  0:01       ` Matthew Jordan
2016-05-18 17:34       ` Matthew Jordan
2016-05-19  3:35         ` Mark H Weaver
2016-05-19 18:10           ` Matthew Jordan
2016-05-21 21:24             ` Ludovic Courtès

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).