gnu: Add econnman.
* gnu/packages/connman.scm (econnman): New variable.
This commit is contained in:
parent
22fda787f6
commit
8c15851717
|
@ -24,6 +24,7 @@
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages admin)
|
#:use-module (gnu packages admin)
|
||||||
|
#:use-module (gnu packages enlightenment)
|
||||||
#:use-module (gnu packages glib)
|
#:use-module (gnu packages glib)
|
||||||
#:use-module (gnu packages linux)
|
#:use-module (gnu packages linux)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
|
@ -90,3 +91,38 @@ cases. Connman implements DNS resolving and caching, DHCP clients for both
|
||||||
IPv4 and IPv6, link-local IPv4 address handling and tethering (IP connection
|
IPv4 and IPv6, link-local IPv4 address handling and tethering (IP connection
|
||||||
sharing) to clients via USB, ethernet, WiFi, cellular and Bluetooth.")
|
sharing) to clients via USB, ethernet, WiFi, cellular and Bluetooth.")
|
||||||
(license gpl2)))
|
(license gpl2)))
|
||||||
|
|
||||||
|
(define-public econnman
|
||||||
|
(package
|
||||||
|
(name "econnman")
|
||||||
|
(version "1.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://download.enlightenment.org/rel/apps/"
|
||||||
|
"econnman/econnman-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"057pwwavlvrrq26bncqnfrf449zzaim0zq717xv86av4n940gwv0"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:configure-flags '("--localstatedir=/var")
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'install 'wrap-binary
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(bin (string-append out "/bin/econnman-bin")))
|
||||||
|
(wrap-program bin
|
||||||
|
`("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"))))
|
||||||
|
#t))))))
|
||||||
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||||
|
(inputs
|
||||||
|
`(("efl" ,efl)
|
||||||
|
("python-2" ,python-2)
|
||||||
|
("python2-efl" ,python2-efl)))
|
||||||
|
(home-page "https://www.enlightenment.org")
|
||||||
|
(synopsis "Connman User Interface written using the EFL")
|
||||||
|
(description
|
||||||
|
"An EFL user interface for the @code{connman} connection manager.")
|
||||||
|
(license lgpl3)))
|
||||||
|
|
Loading…
Reference in New Issue