(define-module (glicid packages gnome)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix utils)
  #:use-module (gnu packages sssd)
  #:use-module (gnu packages gnome)
  #:use-module (glicid utils)
  #:use-module (glicid packages vpn)
)

(define-public glicid-terminator
  (package 
    (inherit terminator)
    (name "glicid-terminator")
    (propagated-inputs
      `(
         ("sssd" ,sssd)
         ,@(package-propagated-inputs terminator)
       )
    )
  )
)


(define-public network-manager-openconnect-upstream
 (package 
  (inherit network-manager-openconnect)
  (name "network-manager-openconnect-upstream")
  (version "1.2.8")
;   (version "1.2.7")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "mirror://gnome/sources/NetworkManager-openconnect/"
                    (version-major+minor version)
                    "/NetworkManager-openconnect-" version ".tar.xz"))
              (sha256
               (base32
                "1k6d6cv2c9v8gf0f2js6cklr3ijhaanbz0nhvlwy5n42bmwamvax"))))
  )
)

(define-public network-manager-openconnect-glicid
   (transform-package
    (
      (instead-of "openconnect" openconnect-upstream)
      network-manager-openconnect
    ) "glicid"
  )
)

