From cb2f48e7f279014f13e76dc8db77d36111b78b9f Mon Sep 17 00:00:00 2001 From: Petter Date: Tue, 24 Oct 2017 18:24:49 +0200 Subject: gnu: Add perl-term-size-any. * gnu/packages/perl.scm (perl-term-size-any): New variable. Signed-off-by: Ricardo Wurmus --- gnu/packages/perl.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index fdd69b9516..6e527bf8c2 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -6958,6 +6958,31 @@ other terminal related features, including retrieval/modification of the screen size, and retrieval/modification of the control characters.") (license (package-license perl)))) +(define-public perl-term-size-any + (package + (name "perl-term-size-any") + (version "0.002") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/F/FE/FERREIRA/" + "Term-Size-Any-" version ".tar.gz")) + (sha256 + (base32 + "1lnynd8pwjp3g85bl4nav6yigg2lag3sx5da989j7a733bdmzyk4")))) + (build-system perl-build-system) + (native-inputs + `(("perl-devel-hide" ,perl-devel-hide))) + (propagated-inputs + `(("perl-term-size-perl" ,perl-term-size-perl))) + (home-page "http://search.cpan.org/dist/Term-Size-Any/") + (synopsis "Retrieve terminal size") + (description "This is a unified interface to retrieve terminal size. It +loads one module of a list of known alternatives, each implementing some way +to get the desired terminal information. This loaded module will actually do +the job on behalf of @code{Term::Size::Any}.") + (license (package-license perl)))) + (define-public perl-term-size-perl (package (name "perl-term-size-perl") -- cgit v1.2.3