summaryrefslogtreecommitdiff
path: root/gnu/packages/networking.scm
diff options
context:
space:
mode:
authorThomas Danckaert <thomas.danckaert@gmail.com>2017-04-26 20:18:56 +0200
committerThomas Danckaert <thomas.danckaert@gmail.com>2017-10-10 10:22:08 +0200
commit167a541fd8439eed50294a94890a8ae5c5ec448c (patch)
tree02ee17f22b161c4f0e99d8a1e28ab7df57769a1f /gnu/packages/networking.scm
parent2fd26d055ae3ab919debfd0e5deb699b8bf8c07a (diff)
downloadpatches-167a541fd8439eed50294a94890a8ae5c5ec448c.tar
patches-167a541fd8439eed50294a94890a8ae5c5ec448c.tar.gz
gnu: Add libproxy.
* gnu/packages/networking.scm (libproxy): New variable.
Diffstat (limited to 'gnu/packages/networking.scm')
-rw-r--r--gnu/packages/networking.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 418d11ad07..b39f2875e8 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -17,6 +17,7 @@
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2017 Gábor Boskovits <boskovits@gmail.com>
+;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -37,6 +38,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix build-system cmake)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
#:use-module (guix build-system perl)
@@ -56,6 +58,7 @@
#:use-module (gnu packages flex)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages gtk)
#:use-module (gnu packages libidn)
@@ -922,6 +925,38 @@ information by IP Address.")
sockets in Perl.")
(license license:perl-license)))
+(define-public libproxy
+ (package
+ (name "libproxy")
+ (version "0.4.15")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/libproxy/libproxy/"
+ "releases/download/" version "/libproxy-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "0kvdrazlzwia876w988cmlypp253gwy6idlh8mjk958c29jb8kb5"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("dbus" ,dbus)
+ ("zlib" ,zlib)
+ ("network-manager" ,network-manager)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (zero? (system* "ctest" "-E" "url-test")))))))
+ (synopsis "Library providing automatic proxy configuration management")
+ (description "Libproxy handles the details of HTTP/HTTPS proxy
+configuration for applications across all scenarios. Applications using
+libproxy only have to specify which proxy to use.")
+ (home-page "https://libproxy.github.io/libproxy")
+ (license license:lgpl2.1+)))
+
(define-public proxychains-ng
(package
(name "proxychains-ng")