mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 03:29:40 -05:00
gnu: Add cmst.
* gnu/packages/connman.scm (cmst): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
125e3cdece
commit
5819431c59
1 changed files with 42 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
||||||
|
;;; Copyright © 2017 Mathieu OTHACEHE <m.othacehe@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -30,6 +31,7 @@ (define-module (gnu packages connman)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
#:use-module (gnu packages polkit)
|
#:use-module (gnu packages polkit)
|
||||||
#:use-module (gnu packages python)
|
#:use-module (gnu packages python)
|
||||||
|
#:use-module (gnu packages qt)
|
||||||
#:use-module (gnu packages readline)
|
#:use-module (gnu packages readline)
|
||||||
#:use-module (gnu packages samba)
|
#:use-module (gnu packages samba)
|
||||||
#:use-module (gnu packages tls)
|
#:use-module (gnu packages tls)
|
||||||
|
@ -127,3 +129,43 @@ (define-public econnman
|
||||||
(description
|
(description
|
||||||
"An EFL user interface for the @code{connman} connection manager.")
|
"An EFL user interface for the @code{connman} connection manager.")
|
||||||
(license lgpl3)))
|
(license lgpl3)))
|
||||||
|
|
||||||
|
(define-public cmst
|
||||||
|
(package
|
||||||
|
(name "cmst")
|
||||||
|
(version "2016.10.03")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"https://github.com/andrew-bibb/cmst/releases/download/cmst-"
|
||||||
|
version "/cmst-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1xpn4sqnxzpsjjwh9hva9sn55xlryiz2f2mwpyj2l31janj7a082"))))
|
||||||
|
(inputs
|
||||||
|
`(("qt" ,qt)))
|
||||||
|
(native-inputs
|
||||||
|
`(("qmake" ,qt)))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'configure
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(zero?
|
||||||
|
(system* "qmake"
|
||||||
|
(string-append "PREFIX="
|
||||||
|
(assoc-ref outputs "out"))))))
|
||||||
|
(add-before 'install 'fix-Makefiles
|
||||||
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
(substitute* (find-files "." "Makefile")
|
||||||
|
(("INSTALL_ROOT)")
|
||||||
|
(string-append "INSTALL_ROOT)" out))
|
||||||
|
(("/usr/bin") "/bin"))))))))
|
||||||
|
(home-page "https://github.com/andrew-bibb/cmst")
|
||||||
|
(synopsis "Qt frontend for Connman")
|
||||||
|
(description
|
||||||
|
"Cmst is a Qt based frontend for the @code{connman} connection manager.
|
||||||
|
This package also provides a systemtray icon.")
|
||||||
|
(license x11)))
|
||||||
|
|
Loading…
Reference in a new issue