Subject: bug#26667: Add: guix-fish 0.1.0

From: ng0 <[email-masked]>
Date: Fri, 28 Apr 2017 20:50:23 +0000

To safe some lines of code in the Guix package, I've added
some files in 0.1.1, just released.
ng0 transcribed 0.5K bytes:
> Hi,
> 
> it's the little things which sometimes count:
> 
> I have just released version 0.1.0 of fish-guix.
> 
> This happened in between moving everything relevant to
> the page I've decided on for now, so just ignore most
> of the content and just look at
> https://pragmatique.noblogs.org/software/fish-guix/ or
> https://pragmatique.noblogs.org/software/fish-guix/downloads/
> 
> The appended patch adds the package to Guix.
> -- 
> PGP and more: https://people.pragmatique.xyz/ng0/
> 
> 
> 

-- 
PGP and more: https://people.pragmatique.xyz/ng0/
From 87adb8e9ee79c9397e2ad956b66cf7a628b3deac Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
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 | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 012f272ca..5f57619e0 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -6,7 +6,7 @@
 ;;; Copyright © 2016 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2016 Stefan Reichör <[email-masked]>
 ;;; Copyright © 2017 Ricardo Wurmus <[email-masked]>
-;;; Copyright © 2017 ng0 <[email-masked]>
+;;; Copyright © 2017 ng0 <[email-masked]>
 ;;; Copyright © 2017 Leo Famulari <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -147,6 +147,32 @@ highlighting.")
     (home-page "https://fishshell.com/")
     (license gpl2)))
 
+(define-public fish-guix
+  (package
+    (name "fish-guix")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://dist.pragmatique.xyz/fish-guix/"
+                           name "-" version ".tar.xz"))
+       (sha256
+        (base32
+         "0xi0j9lvzh43lrj82gz52n2cjln0i0pgayngrg4hy5w4449biy0z"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; No checks.
+       #:make-flags (list
+                     (string-append "PREFIX=" %output))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)))) ; No configure script.
+    (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