all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ng0@pragmatique.xyz>
To: 26667@debbugs.gnu.org
Subject: bug#26667: fish-guix now with patch
Date: Wed, 26 Apr 2017 12:17:04 +0000	[thread overview]
Message-ID: <20170426121704.gexth2cfktb3bv3s@abyayala> (raw)
In-Reply-To: <20170426120416.olmkynnbjh52oaoy@abyayala>

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

I have forgotten to append the patch. Here it is.


[-- Attachment #2: 0001-gnu-Add-fish-guix.patch --]
[-- Type: text/plain, Size: 2248 bytes --]

From 583c6b16b08c93a991bfc0ece7002a147c9264db Mon Sep 17 00:00:00 2001
From: ng0 <ng0@no-reply.pragmatique.xyz>
Date: Wed, 26 Apr 2017 11:10:01 +0000
Subject: [PATCH] gnu: Add fish-guix.

* gnu/packages/shells.scm (fish-guix): New variable.
---
 gnu/packages/shells.scm | 33 ++++++++++++++++++++++++++++++++-
 1 file changed, 32 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 012f272ca..1f749f5ce 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -6,7 +6,7 @@
 ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2016 Stefan Reichör <stefan@xsteve.at>
 ;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
-;;; Copyright © 2017 ng0 <contact.ng0@cryptolab.net>
+;;; Copyright © 2017 ng0 <ng0@no-reply.pragmatique.xyz>
 ;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -147,6 +147,37 @@ highlighting.")
     (home-page "https://fishshell.com/")
     (license gpl2)))
 
+(define-public fish-guix
+  (package
+    (name "fish-guix")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://dist.pragmatique.xyz/fish-guix/"
+                           name "-" version ".tar.xz"))
+       (sha256
+        (base32
+         "1nyylj8yq0c9wx4q7ak4ygygg5hsrqlgscbw9iip2mmyfiz0v8d7"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; No checks.
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (func (string-append out "/share/fish/functions")))
+               (install-file "guix.fish" func))
+             #t))
+         (delete 'build)
+         (delete 'configure))))
+    (home-page "https://pragmatique.noblogs.org/software/fish-guix/downloads/")
+    (synopsis "Fish completions for Guix")
+    (description
+     "Fish-guix provides completions for Guix for users of the fish shell.")
+    (license public-domain)))
+
 (define-public rc
   (package
     (name "rc")
-- 
2.12.2


  reply	other threads:[~2017-04-26 12:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-26 12:04 bug#26667: Add: guix-fish 0.1.0 ng0
2017-04-26 12:17 ` ng0 [this message]
2017-04-26 12:21 ` ng0
2017-04-28 20:50 ` ng0
2017-05-04  8:55   ` Ludovic Courtès

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=20170426121704.gexth2cfktb3bv3s@abyayala \
    --to=ng0@pragmatique.xyz \
    --cc=26667@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.