From 8ac84f230c85bcd8803bb994c801c1076bbfc7e3 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Wed, 8 Apr 2015 16:13:45 -0500 Subject: [PATCH] gnu: Add Sys-Hostname-Long. * gnu/packages/perl.scm (perl-sys-hostname-long): New variable. --- gnu/packages/perl.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 2c2cead112..26c193fe4e 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -4319,6 +4319,26 @@ (define-public perl-sys-cpu "Sys-CPU-" version)) (license (package-license perl)))) +(define-public perl-sys-hostname-long + (package + (name "perl-sys-hostname-long") + (version "1.5") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/S/SC/SCOTT/" + "Sys-Hostname-Long-" version ".tar.gz")) + (sha256 + (base32 + "1jv5n8jv48c1p8svjsigyxndv1ygsq8wgwj9c7ypx1vaf3rns679")))) + (build-system perl-build-system) + (arguments `(#:tests? #f)) ;no `hostname' during build + (home-page "http://search.cpan.org/dist/Sys-Hostname-Long") + (synopsis "Get full hostname in Perl") + (description "Sys::Hostname::Long tries very hard to get the full hostname +of a system.") + (license (package-license perl)))) + (define-public perl-task-weaken (package (name "perl-task-weaken")