Message ID | 8509fe365aa5703ac048c93ab423666307cacc5a.1691608338.git.ngraves@ngraves.fr |
---|---|
State | New |
Headers | show |
Series | [bug#65172,v2] gnu: Add emacs-sway. | expand |
Nicolas Graves via Guix-patches via <guix-patches@gnu.org> writes: > + (let* ((commit "838ef531a30fe616f0141adbdabc132d4edfd374") > + (revision "0")) This can just be a regular LET, but it doesn't really matter. Other than that, looks good :)
On 2023-08-09 21:12, Nicolas Graves wrote: > * gnu/packages/emacs-xyz.scm (emacs-sway): New variable. > --- > gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm > index e56c367f39..d11f27807a 100644 > --- a/gnu/packages/emacs-xyz.scm > +++ b/gnu/packages/emacs-xyz.scm > @@ -12249,6 +12249,31 @@ (define-public emacs-counsel > @end itemize") > (license license:gpl3+))) > > +(define-public emacs-sway Added a comment that this is a commit from fork, not the original repo. Would be cool to merge those changes back to upstream repo in the future or update source and home-page urls. > + (let* ((commit "838ef531a30fe616f0141adbdabc132d4edfd374") > + (revision "0")) > + (package > + (name "emacs-sway") > + (version (git-version "0.6.1" revision commit)) > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/thblt/sway.el") > + (commit commit))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "0ddaz8my3z4ca2z81kf1h8773pyx8h0l0ra3ssqd1rq5j0041wdh")))) > + (build-system emacs-build-system) > + (home-page "https://github.com/thblt/sway.el") > + (synopsis "Communication with the Sway window manager") > + (description > + "This is a basic library to control the Sway window manager from Emacs. > +Its main use case is in combination with popup managers like Shackle, to > +use frames instead of windows while still giving focus to existing frames > +instead of duplicating them.") > + (license license:gpl3+)))) > + > (define-public emacs-sweet-theme > (let ((commit "78f741806ecebe01224bf54d09ad80e306652508") > (revision "0")) > > base-commit: 773f907dc09116fc35d2732785f2675d1101c1f7 Applied, pushed as https://git.savannah.gnu.org/cgit/guix.git/commit/?id=e6c6014f03 Thank you!
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index e56c367f39..d11f27807a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -12249,6 +12249,31 @@ (define-public emacs-counsel @end itemize") (license license:gpl3+))) +(define-public emacs-sway + (let* ((commit "838ef531a30fe616f0141adbdabc132d4edfd374") + (revision "0")) + (package + (name "emacs-sway") + (version (git-version "0.6.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/thblt/sway.el") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ddaz8my3z4ca2z81kf1h8773pyx8h0l0ra3ssqd1rq5j0041wdh")))) + (build-system emacs-build-system) + (home-page "https://github.com/thblt/sway.el") + (synopsis "Communication with the Sway window manager") + (description + "This is a basic library to control the Sway window manager from Emacs. +Its main use case is in combination with popup managers like Shackle, to +use frames instead of windows while still giving focus to existing frames +instead of duplicating them.") + (license license:gpl3+)))) + (define-public emacs-sweet-theme (let ((commit "78f741806ecebe01224bf54d09ad80e306652508") (revision "0"))