mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
gnu: emacs-ghub: Update to 3.2.0.
* gnu/packages/emacs-xyz.scm (emacs-ghub): Update to 3.2.0. [propagated-inputs]: Add emacs-dash, emacs-graphql, emacs-treepy. [synopsis, description]: Update. (emacs-magit, emacs-magit-svn)[propagated-inputs]: Add emacs-graphql, emacs-treepy. [arguments]: Update accordingly.
This commit is contained in:
parent
d49d053428
commit
ae848798a6
1 changed files with 30 additions and 8 deletions
|
@ -269,6 +269,8 @@ (define-public emacs-magit
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("dash" ,emacs-dash)
|
`(("dash" ,emacs-dash)
|
||||||
("ghub" ,emacs-ghub)
|
("ghub" ,emacs-ghub)
|
||||||
|
("graphql" ,emacs-graphql)
|
||||||
|
("treepy" ,emacs-treepy)
|
||||||
("magit-popup" ,emacs-magit-popup)
|
("magit-popup" ,emacs-magit-popup)
|
||||||
("with-editor" ,emacs-with-editor)))
|
("with-editor" ,emacs-with-editor)))
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -287,6 +289,14 @@ (define-public emacs-magit
|
||||||
(assoc-ref %build-inputs "ghub")
|
(assoc-ref %build-inputs "ghub")
|
||||||
"/share/emacs/site-lisp/guix.d/ghub-"
|
"/share/emacs/site-lisp/guix.d/ghub-"
|
||||||
,(package-version emacs-ghub))
|
,(package-version emacs-ghub))
|
||||||
|
(string-append "GRAPHQL_DIR="
|
||||||
|
(assoc-ref %build-inputs "graphql")
|
||||||
|
"/share/emacs/site-lisp/guix.d/graphql-"
|
||||||
|
,(package-version emacs-graphql))
|
||||||
|
(string-append "TREEPY_DIR="
|
||||||
|
(assoc-ref %build-inputs "treepy")
|
||||||
|
"/share/emacs/site-lisp/guix.d/treepy-"
|
||||||
|
,(package-version emacs-treepy))
|
||||||
(string-append "MAGIT_POPUP_DIR="
|
(string-append "MAGIT_POPUP_DIR="
|
||||||
(assoc-ref %build-inputs "magit-popup")
|
(assoc-ref %build-inputs "magit-popup")
|
||||||
"/share/emacs/site-lisp/guix.d/magit-popup-"
|
"/share/emacs/site-lisp/guix.d/magit-popup-"
|
||||||
|
@ -336,6 +346,8 @@ (define-public emacs-magit-svn
|
||||||
(native-inputs `(("emacs" ,emacs-minimal)))
|
(native-inputs `(("emacs" ,emacs-minimal)))
|
||||||
(propagated-inputs `(("dash" ,emacs-dash)
|
(propagated-inputs `(("dash" ,emacs-dash)
|
||||||
("ghub" ,emacs-ghub)
|
("ghub" ,emacs-ghub)
|
||||||
|
("graphql" ,emacs-graphql)
|
||||||
|
("treepy" ,emacs-treepy)
|
||||||
("with-editor" ,emacs-with-editor)
|
("with-editor" ,emacs-with-editor)
|
||||||
("magit" ,emacs-magit)
|
("magit" ,emacs-magit)
|
||||||
("magit-popup" ,emacs-magit-popup)))
|
("magit-popup" ,emacs-magit-popup)))
|
||||||
|
@ -358,6 +370,12 @@ (define-public emacs-magit-svn
|
||||||
(ghub (string-append (assoc-ref %build-inputs "ghub")
|
(ghub (string-append (assoc-ref %build-inputs "ghub")
|
||||||
"/share/emacs/site-lisp/guix.d/ghub-"
|
"/share/emacs/site-lisp/guix.d/ghub-"
|
||||||
,(package-version emacs-ghub)))
|
,(package-version emacs-ghub)))
|
||||||
|
(graphql (string-append (assoc-ref %build-inputs "graphql")
|
||||||
|
"/share/emacs/site-lisp/guix.d/graphql-"
|
||||||
|
,(package-version emacs-graphql)))
|
||||||
|
(treepy (string-append (assoc-ref %build-inputs "treepy")
|
||||||
|
"/share/emacs/site-lisp/guix.d/treepy-"
|
||||||
|
,(package-version emacs-treepy)))
|
||||||
(dash (string-append (assoc-ref %build-inputs "dash")
|
(dash (string-append (assoc-ref %build-inputs "dash")
|
||||||
"/share/emacs/site-lisp/guix.d/dash-"
|
"/share/emacs/site-lisp/guix.d/dash-"
|
||||||
,(package-version emacs-dash)))
|
,(package-version emacs-dash)))
|
||||||
|
@ -375,7 +393,7 @@ (define-public emacs-magit-svn
|
||||||
(emacs-generate-autoloads ,name lisp-dir)
|
(emacs-generate-autoloads ,name lisp-dir)
|
||||||
(setenv "EMACSLOADPATH"
|
(setenv "EMACSLOADPATH"
|
||||||
(string-append ":" magit ":" magit-popup ":" ghub ":"
|
(string-append ":" magit ":" magit-popup ":" ghub ":"
|
||||||
dash ":" with-editor))
|
":" graphql ":" treepy ":" dash ":" with-editor))
|
||||||
(emacs-batch-eval '(byte-compile-file "magit-svn.el"))))
|
(emacs-batch-eval '(byte-compile-file "magit-svn.el"))))
|
||||||
#t))))
|
#t))))
|
||||||
(home-page "https://github.com/magit/magit-svn")
|
(home-page "https://github.com/magit/magit-svn")
|
||||||
|
@ -476,7 +494,7 @@ (define-public emacs-graphql
|
||||||
(define-public emacs-ghub
|
(define-public emacs-ghub
|
||||||
(package
|
(package
|
||||||
(name "emacs-ghub")
|
(name "emacs-ghub")
|
||||||
(version "2.0.1")
|
(version "3.2.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -485,7 +503,7 @@ (define-public emacs-ghub
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1b5jrpj3z989r3mf4jfch8rnaaa5hyb2395xz3v37f0vsphd7s0y"))))
|
"0lp52qygyavddl1lrgsyb6mq7hcf9h89dy2pzya3mb2va49f0vvl"))))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
@ -495,13 +513,17 @@ (define-public emacs-ghub
|
||||||
(invoke "make" "info"))))))
|
(invoke "make" "info"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("texinfo" ,texinfo)))
|
`(("texinfo" ,texinfo)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("dash" ,emacs-dash)
|
||||||
|
("graphql" ,emacs-graphql)
|
||||||
|
("treepy" ,emacs-treepy)))
|
||||||
(home-page "https://github.com/magit/ghub")
|
(home-page "https://github.com/magit/ghub")
|
||||||
(synopsis "Emacs client library for Github API and Gitlab API")
|
(synopsis "Emacs client libraries for the APIs of various Git forges")
|
||||||
(description
|
(description
|
||||||
"This package provides 2 files: @file{ghub.el} and @file{glab.el},
|
"Ghub provides basic support for using the APIs of various Git forges from
|
||||||
which are the libraries that provide basic support for using the Github and
|
Emacs packages. It supports the REST APIs of Github, Github GraphQL, Gitlab,
|
||||||
Gitlab APIs from Emacs packages. It abstracts access to API resources using
|
Gitea, Gogs and Bitbucket. It abstracts access to API resources using only a
|
||||||
only a handful of functions that are not resource-specific.")
|
handful of functions that are not resource-specific.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public emacs-scribble-mode
|
(define-public emacs-scribble-mode
|
||||||
|
|
Loading…
Reference in a new issue