mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
gnu: Add perl-lwp-online.
* gnu/packages/web.scm (perl-lwp-online): New variable. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
parent
9e88b210f6
commit
efc8f7d03d
1 changed files with 30 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
||||||
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
|
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
|
||||||
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
||||||
;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
|
;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
|
||||||
|
;;; Copyright © 2017 Petter <petter@mykolab.ch>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -2891,6 +2892,35 @@ (define-public perl-libwww
|
||||||
help you implement simple HTTP servers.")
|
help you implement simple HTTP servers.")
|
||||||
(home-page "http://search.cpan.org/dist/libwww-perl/")))
|
(home-page "http://search.cpan.org/dist/libwww-perl/")))
|
||||||
|
|
||||||
|
(define-public perl-lwp-online
|
||||||
|
(package
|
||||||
|
(name "perl-lwp-online")
|
||||||
|
(version "1.08")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
|
||||||
|
(build-system perl-build-system)
|
||||||
|
(propagated-inputs
|
||||||
|
`(("perl-libwww" ,perl-libwww)
|
||||||
|
("perl-uri" ,perl-uri)))
|
||||||
|
(native-inputs
|
||||||
|
`(("perl-module-install" ,perl-module-install)))
|
||||||
|
(home-page "http://search.cpan.org/dist/LWP-Online/")
|
||||||
|
(synopsis "Checks whether your process has access to the web")
|
||||||
|
(description "This module attempts to answer, as accurately as it can, one
|
||||||
|
of the nastiest technical questions there is: am I on the internet?
|
||||||
|
|
||||||
|
A host of networking and security issues make this problem very difficult.
|
||||||
|
There are firewalls, proxies (both well behaved and badly behaved). We might
|
||||||
|
not have DNS. We might not have a network card at all!")
|
||||||
|
(license l:perl-license)))
|
||||||
|
|
||||||
(define-public perl-lwp-mediatypes
|
(define-public perl-lwp-mediatypes
|
||||||
(package
|
(package
|
||||||
(name "perl-lwp-mediatypes")
|
(name "perl-lwp-mediatypes")
|
||||||
|
|
Loading…
Reference in a new issue