unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/2] gnu: Add bison-2.7
@ 2014-08-26 19:04 john
  2014-08-26 19:04 ` [PATCH 2/2] gnu: Add perl-zip john
  2014-08-26 19:58 ` [PATCH 1/2] gnu: Add bison-2.7 Andreas Enge
  0 siblings, 2 replies; 5+ messages in thread
From: john @ 2014-08-26 19:04 UTC (permalink / raw)
  To: guix-devel; +Cc: John Darrington

From: John Darrington <jmd@gnu.org>

* gnu/packages/bison.scm (bison-2.7): New variable.
  Bison 3.x and 2.x are incompatible.  Some programs require 2.x
---
 gnu/packages/bison.scm |   13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/bison.scm b/gnu/packages/bison.scm
index 4067b23..76aa88f 100644
--- a/gnu/packages/bison.scm
+++ b/gnu/packages/bison.scm
@@ -51,3 +51,16 @@ deterministic or generalized LR parser from an annotated, context-free
 grammar.  It is versatile enough to have many applications, from parsers for
 simple tools through complex programming languages.")
     (license gpl3+)))
+
+(define-public bison-2.7
+  (package (inherit bison)
+    (version "2.7")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "mirror://gnu/bison/bison-"
+                          version ".tar.xz"))
+      (sha256
+       (base32
+        "1zd77ilmpv5mi3kr55jrj6ncqlcnyhpianhrwzak2q28cv2cbn23"))))))
+
-- 
1.7.10.4

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

* [PATCH 2/2] gnu: Add perl-zip
  2014-08-26 19:04 [PATCH 1/2] gnu: Add bison-2.7 john
@ 2014-08-26 19:04 ` john
  2014-08-26 20:00   ` Andreas Enge
  2014-08-26 19:58 ` [PATCH 1/2] gnu: Add bison-2.7 Andreas Enge
  1 sibling, 1 reply; 5+ messages in thread
From: john @ 2014-08-26 19:04 UTC (permalink / raw)
  To: guix-devel; +Cc: John Darrington

From: John Darrington <jmd@gnu.org>

* gnu/packages/zip.scm (perl-zip): New variable.
---
 gnu/packages/zip.scm |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/zip.scm b/gnu/packages/zip.scm
index 1e1d29e..2a98913 100644
--- a/gnu/packages/zip.scm
+++ b/gnu/packages/zip.scm
@@ -25,6 +25,7 @@
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages perl)
+  #:use-module (guix build-system perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python))
 
@@ -135,3 +136,23 @@ UnZip recreates the stored directory structure by default.")
     (description
      "zziplib is a library based on zlib for accessing zip files.")
     (license license:lgpl2.0+)))
+
+(define-public perl-zip
+  (package
+    (name "perl-zip")
+    (version "1.30")
+    (source 
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/A/AD/ADAMK/Archive-Zip-" 
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "0633zah5z9njiqnvy3vh42fjymncmil1jdfb7d18w8xpfzzp5d7q"))))
+    (build-system perl-build-system)
+    (synopsis "Perl API to zip files")
+    (description "The Archive::Zip module allows a Perl program to create,
+manipulate, read, and write Zip archive files.")
+    (home-page "http://search.cpan.org/~phred/Archive-Zip-1.37/lib/Archive/Zip.pm")
+    (license (package-license perl))))
-- 
1.7.10.4

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

* Re: [PATCH 1/2] gnu: Add bison-2.7
  2014-08-26 19:04 [PATCH 1/2] gnu: Add bison-2.7 john
  2014-08-26 19:04 ` [PATCH 2/2] gnu: Add perl-zip john
@ 2014-08-26 19:58 ` Andreas Enge
  2014-08-28 15:39   ` Ludovic Courtès
  1 sibling, 1 reply; 5+ messages in thread
From: Andreas Enge @ 2014-08-26 19:58 UTC (permalink / raw)
  To: john; +Cc: guix-devel, John Darrington

Looks good to me!

Andreas

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

* Re: [PATCH 2/2] gnu: Add perl-zip
  2014-08-26 19:04 ` [PATCH 2/2] gnu: Add perl-zip john
@ 2014-08-26 20:00   ` Andreas Enge
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Enge @ 2014-08-26 20:00 UTC (permalink / raw)
  To: john; +Cc: guix-devel, John Darrington

On Tue, Aug 26, 2014 at 09:04:34PM +0200, john@darrington.wattle.id.au wrote:
> +(define-public perl-zip
> +             "mirror://cpan/authors/id/A/AD/ADAMK/Archive-Zip-" 
> +             version ".tar.gz"))

Should the package not be called perl-archive-zip in accordance with our
perl modules naming guideline?

Andreas

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

* Re: [PATCH 1/2] gnu: Add bison-2.7
  2014-08-26 19:58 ` [PATCH 1/2] gnu: Add bison-2.7 Andreas Enge
@ 2014-08-28 15:39   ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2014-08-28 15:39 UTC (permalink / raw)
  To: Andreas Enge; +Cc: guix-devel, John Darrington

Andreas Enge <andreas@enge.fr> skribis:

> Looks good to me!

Ditto!

(No need to wait for me.)

Ludo’.

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

end of thread, other threads:[~2014-08-28 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-26 19:04 [PATCH 1/2] gnu: Add bison-2.7 john
2014-08-26 19:04 ` [PATCH 2/2] gnu: Add perl-zip john
2014-08-26 20:00   ` Andreas Enge
2014-08-26 19:58 ` [PATCH 1/2] gnu: Add bison-2.7 Andreas Enge
2014-08-28 15:39   ` 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).