unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/2] gnu: hurd: Add hurd-source-url procedure.
@ 2017-04-08 14:06 manolis837
  2017-04-08 14:06 ` [PATCH 2/2] gnu: Add the Hurd manolis837
  2017-04-13 14:30 ` [PATCH 1/2] gnu: hurd: Add hurd-source-url procedure Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: manolis837 @ 2017-04-08 14:06 UTC (permalink / raw)
  To: guix-devel

From: Manolis Ragkousis <manolis837@gmail.com>

* gnu/packages/hurd.scm (hurd-source-url): New procedure.
  (hurd-headers)[source]: Adjust accordingly.
---
 gnu/packages/hurd.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index b5da4cb96..12fce5453 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -39,6 +39,10 @@
   (string-append "mirror://gnu/gnumach/gnumach-"
                  version ".tar.gz"))
 
+(define (hurd-source-url version)
+  (string-append "mirror://gnu/hurd/hurd-"
+                 version ".tar.gz"))
+
 (define-public gnumach-headers
   (package
     (name "gnumach-headers")
@@ -113,8 +117,7 @@ communication.")
     (version "0.9")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://gnu/hurd/hurd-"
-                                  version ".tar.gz"))
+              (uri (hurd-source-url version))
               (sha256
                (base32
                 "1nw9gly0n7pyv3cpfm4mmxy4yccrx4g0lyrvd3vk2vil26jpbggw"))))
-- 
2.12.1

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

end of thread, other threads:[~2017-04-13 14:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-08 14:06 [PATCH 1/2] gnu: hurd: Add hurd-source-url procedure manolis837
2017-04-08 14:06 ` [PATCH 2/2] gnu: Add the Hurd manolis837
2017-04-09  2:41   ` Efraim Flashner
2017-04-09  6:55     ` Manolis Ragkousis
2017-04-13 14:31   ` Ludovic Courtès
2017-04-13 14:30 ` [PATCH 1/2] gnu: hurd: Add hurd-source-url procedure 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).