[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Add Data::Stag
From: |
Ricardo Wurmus |
Subject: |
[PATCH] Add Data::Stag |
Date: |
Tue, 2 Jun 2015 16:58:55 +0200 |
>From 66133f87b988417ba9207ac5d101a94a7ed601b4 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <address@hidden>
Date: Tue, 2 Jun 2015 16:35:23 +0200
Subject: [PATCH 1/2] gnu: Add IO::String.
* gnu/packages/perl.scm (perl-io-string): New variable.
---
gnu/packages/perl.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 3bfe68d..3810f4e 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2431,6 +2431,25 @@ easier to develop interactive applications:
is_interactive(), interactive(),
and busy()")
(license (package-license perl))))
+(define-public perl-io-string
+ (package
+ (name "perl-io-string")
+ (version "1.08")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
+ "IO-String-" version ".tar.gz"))
+ (sha256
+ (base32
+ "18755m410yl70s17rgq3m0hyxl8r5mr47vsq1rw7141d8kc4lgra"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/~gaas/IO-String-1.08/")
+ (synopsis "Emulate file interface for in-core strings")
+ (description "IO::String is an IO::File (and IO::Handle) compatible class
+that reads or writes data from in-core strings.")
+ (license (package-license perl))))
+
(define-public perl-io-stringy
(package
(name "perl-io-stringy")
--
2.1.0
>From 5a0a8b17cf3a90901ddd172156287ca7bdbfda6e Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <address@hidden>
Date: Tue, 2 Jun 2015 16:35:58 +0200
Subject: [PATCH 2/2] gnu: Add Data::Stag.
* gnu/packages/perl.scm (perl-data-stag): New variable.
---
gnu/packages/perl.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 3810f4e..e5ec25e 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1118,6 +1118,30 @@ on one page. This results in wanting to page through
various pages of data.
The maths behind this is unfortunately fiddly, hence this module.")
(license (package-license perl))))
+(define-public perl-data-stag
+ (package
+ (name "perl-data-stag")
+ (version "0.14")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/C/CM/CMUNGALL/"
+ "Data-Stag-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ncf4l39ka23nb01jlm6rzxdb5pqbip01x0m38bnvf1gim825caa"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-io-string" ,perl-io-string)))
+ (home-page "http://search.cpan.org/dist/Data-Stag")
+ (synopsis "Structured tags datastructures")
+ (description
+ "This module is for manipulating data as hierarchical tag/value
+pairs (Structured TAGs or Simple Tree AGgreggates). These datastructures can
+be represented as nested arrays, which have the advantage of being native to
+Perl.")
+ (license (package-license perl))))
+
(define-public perl-data-stream-bulk
(package
(name "perl-data-stream-bulk")
--
2.1.0
- [PATCH] Add Data::Stag,
Ricardo Wurmus <=