mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: Add emacs-know-your-http-well.
* gnu/packages/emacs.scm (emacs-know-your-http-well): New public variable.
This commit is contained in:
parent
58b50580cf
commit
9b876c6916
1 changed files with 35 additions and 0 deletions
|
@ -9204,3 +9204,38 @@ (define-public emacs-fancy-narrow
|
|||
blank slate) and is clearly highlighted with respect to the rest of the
|
||||
buffer.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public emacs-know-your-http-well
|
||||
(package
|
||||
(name "emacs-know-your-http-well")
|
||||
(version "0.5.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://github.com/for-GET/know-your-http-well/archive/"
|
||||
"v" version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1y3kwz88awcgwaivlswq0q4g2i02762r23lpwg61bfqy5lrjjqnj"))))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'install-json-files
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(for-each (lambda (directory)
|
||||
(copy-recursively directory
|
||||
(string-append
|
||||
(assoc-ref outputs "out")
|
||||
directory)))
|
||||
'("js" "json"))))
|
||||
(add-after 'unpack 'chdir-elisp
|
||||
;; Elisp directory is not in root of the source.
|
||||
(lambda _
|
||||
(chdir "emacs"))))))
|
||||
(build-system emacs-build-system)
|
||||
(home-page "https://github.com/for-GET/know-your-http-well")
|
||||
(synopsis "Meaning of HTTP headers codes")
|
||||
(description "Meaning of HTTP headers codes.")
|
||||
(license license:gpl3+)))
|
||||
|
|
Loading…
Reference in a new issue