Package: guix-patches;
Reported by: Dominic Martinez <dom <at> dominicm.dev>
Date: Sat, 29 Jun 2024 02:59:01 UTC
Severity: normal
Tags: patch
Done: Greg Hogan <code <at> greghogan.com>
To reply to this bug, email your comments to 71831 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
lars <at> 6xq.net, guix-patches <at> gnu.org
:bug#71831
; Package guix-patches
.
(Sat, 29 Jun 2024 02:59:02 GMT) Full text and rfc822 format available.Dominic Martinez <dom <at> dominicm.dev>
:lars <at> 6xq.net, guix-patches <at> gnu.org
.
(Sat, 29 Jun 2024 02:59:02 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Dominic Martinez <dom <at> dominicm.dev> To: guix-patches <at> gnu.org Cc: Dominic Martinez <dom <at> dominicm.dev> Subject: [PATCH] gnu: kmonad: Update to 0.4.2. Date: Fri, 28 Jun 2024 22:58:29 -0400
* gnu/packages/haskell-apps.scm (kmonad): Update to 0.4.2. Change-Id: Ifbd162583e7838e8a986518434f5314ab3a32b56 --- gnu/packages/haskell-apps.scm | 122 ++++++++++++++++------------------ 1 file changed, 59 insertions(+), 63 deletions(-) diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index 3fce4f803c..63f1a3bfe8 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -614,73 +614,69 @@ (define-public hscolour (license license:bsd-3))) (define-public kmonad - ;; Project is active, but no new releases exist. Pick current master - ;; HEAD as of 2023-01-08. - (let ((commit "a0af5b8b3f085adb2c09ca52374a53566c25194c") - (revision "1")) - (package - (name "kmonad") - (version (git-version "0.4.1" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/david-janssen/kmonad") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "00qmmk1lgadhh32dqi530xm18v79ndcm7rrxvdsf827vicv2nhw1")))) - (build-system haskell-build-system) - (arguments - `(#:haddock? #f ; Haddock fails to generate docs - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-git-path - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "src/KMonad/Args/TH.hs" - (("\"git\"") - (string-append "\"" (search-input-file inputs "/bin/git") "\""))))) - (add-after 'install 'install-udev-rules - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (rules (string-append out "/lib/udev/rules.d"))) - (mkdir-p rules) - (call-with-output-file (string-append rules "/70-kmonad.rules") - (lambda (port) - (display - (string-append - "KERNEL==\"uinput\", MODE=\"0660\", " - "GROUP=\"input\", OPTIONS+=\"static_node=uinput\"\n") - port))) - #t))) - (add-after 'install-udev-rules 'install-documentation - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (doc (string-append out "/share/doc/kmonad-" ,version))) - (install-file "README.md" doc) - (copy-recursively "doc" doc) - (copy-recursively "keymap" (string-append doc "/keymap")) - #t)))))) - (inputs - (list ghc-cereal - ghc-exceptions - ghc-lens - ghc-megaparsec - ghc-optparse-applicative - ghc-resourcet - ghc-rio - ghc-unliftio - ghc-unordered-containers - ghc-template-haskell)) - (native-inputs (list ghc-hspec hspec-discover git)) - (home-page "https://github.com/david-janssen/kmonad") - (synopsis "Advanced keyboard manager") - (description "KMonad is a keyboard remapping utility that supports + (package + (name "kmonad") + (version "0.4.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kmonad/kmonad") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0q8hdw3ab34kwydzpz5hcy8xj16fwb3r6gqj3cldzmi6fcbzfd1i")))) + (build-system haskell-build-system) + (arguments + `(#:haddock? #f ; Haddock fails to generate docs + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-git-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/KMonad/Args/TH.hs" + (("\"git\"") + (string-append "\"" (search-input-file inputs "/bin/git") "\""))))) + (add-after 'install 'install-udev-rules + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (rules (string-append out "/lib/udev/rules.d"))) + (mkdir-p rules) + (call-with-output-file (string-append rules "/70-kmonad.rules") + (lambda (port) + (display + (string-append + "KERNEL==\"uinput\", MODE=\"0660\", " + "GROUP=\"input\", OPTIONS+=\"static_node=uinput\"\n") + port))) + #t))) + (add-after 'install-udev-rules 'install-documentation + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (doc (string-append out "/share/doc/kmonad-" ,version))) + (install-file "README.md" doc) + (copy-recursively "doc" doc) + (copy-recursively "keymap" (string-append doc "/keymap")) + #t)))))) + (inputs + (list ghc-cereal + ghc-exceptions + ghc-lens + ghc-megaparsec + ghc-optparse-applicative + ghc-resourcet + ghc-rio + ghc-unliftio + ghc-unordered-containers + ghc-template-haskell)) + (native-inputs (list ghc-hspec hspec-discover git)) + (home-page "https://github.com/david-janssen/kmonad") + (synopsis "Advanced keyboard manager") + (description "KMonad is a keyboard remapping utility that supports advanced functionality, such as custom keymap layers and modifiers, macros, and conditional mappings that send a different keycode when tapped or held. By operating at a lower level than most similar tools, it supports X11, Wayland, and Linux console environments alike.") - (license license:expat)))) + (license license:expat))) (define-public nixfmt (package base-commit: 385fb14f6482a955fbef4d4b21fccb3473beddd8 -- 2.45.2
Greg Hogan <code <at> greghogan.com>
:Dominic Martinez <dom <at> dominicm.dev>
:Message #10 received at 71831-done <at> debbugs.gnu.org (full text, mbox):
From: Greg Hogan <code <at> greghogan.com> To: Dominic Martinez <dom <at> dominicm.dev> Cc: Lars-Dominik Braun <lars <at> 6xq.net>, 71831-done <at> debbugs.gnu.org Subject: Re: [bug#71831] [PATCH] gnu: kmonad: Update to 0.4.2. Date: Tue, 11 Mar 2025 11:38:02 -0400
On Sat, Jun 29, 2024 at 9:05 AM Dominic Martinez via Guix-patches via <guix-patches <at> gnu.org> wrote: > > * gnu/packages/haskell-apps.scm (kmonad): Update to 0.4.2. > > Change-Id: Ifbd162583e7838e8a986518434f5314ab3a32b56 > --- > gnu/packages/haskell-apps.scm | 122 ++++++++++++++++------------------ > 1 file changed, 59 insertions(+), 63 deletions(-) > > diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm > index 3fce4f803c..63f1a3bfe8 100644 > --- a/gnu/packages/haskell-apps.scm > +++ b/gnu/packages/haskell-apps.scm > @@ -614,73 +614,69 @@ (define-public hscolour > (license license:bsd-3))) > > (define-public kmonad > - ;; Project is active, but no new releases exist. Pick current master > - ;; HEAD as of 2023-01-08. > - (let ((commit "a0af5b8b3f085adb2c09ca52374a53566c25194c") > - (revision "1")) > - (package > - (name "kmonad") > - (version (git-version "0.4.1" revision commit)) > - (source > - (origin > - (method git-fetch) > - (uri (git-reference > - (url "https://github.com/david-janssen/kmonad") > - (commit commit))) > - (file-name (git-file-name name version)) > - (sha256 > - (base32 "00qmmk1lgadhh32dqi530xm18v79ndcm7rrxvdsf827vicv2nhw1")))) > - (build-system haskell-build-system) > - (arguments > - `(#:haddock? #f ; Haddock fails to generate docs > - #:phases > - (modify-phases %standard-phases > - (add-after 'unpack 'patch-git-path > - (lambda* (#:key inputs #:allow-other-keys) > - (substitute* "src/KMonad/Args/TH.hs" > - (("\"git\"") > - (string-append "\"" (search-input-file inputs "/bin/git") "\""))))) > - (add-after 'install 'install-udev-rules > - (lambda* (#:key outputs #:allow-other-keys) > - (let* ((out (assoc-ref outputs "out")) > - (rules (string-append out "/lib/udev/rules.d"))) > - (mkdir-p rules) > - (call-with-output-file (string-append rules "/70-kmonad.rules") > - (lambda (port) > - (display > - (string-append > - "KERNEL==\"uinput\", MODE=\"0660\", " > - "GROUP=\"input\", OPTIONS+=\"static_node=uinput\"\n") > - port))) > - #t))) > - (add-after 'install-udev-rules 'install-documentation > - (lambda* (#:key outputs #:allow-other-keys) > - (let* ((out (assoc-ref outputs "out")) > - (doc (string-append out "/share/doc/kmonad-" ,version))) > - (install-file "README.md" doc) > - (copy-recursively "doc" doc) > - (copy-recursively "keymap" (string-append doc "/keymap")) > - #t)))))) > - (inputs > - (list ghc-cereal > - ghc-exceptions > - ghc-lens > - ghc-megaparsec > - ghc-optparse-applicative > - ghc-resourcet > - ghc-rio > - ghc-unliftio > - ghc-unordered-containers > - ghc-template-haskell)) > - (native-inputs (list ghc-hspec hspec-discover git)) > - (home-page "https://github.com/david-janssen/kmonad") > - (synopsis "Advanced keyboard manager") > - (description "KMonad is a keyboard remapping utility that supports > + (package > + (name "kmonad") > + (version "0.4.2") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/kmonad/kmonad") > + (commit version))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "0q8hdw3ab34kwydzpz5hcy8xj16fwb3r6gqj3cldzmi6fcbzfd1i")))) > + (build-system haskell-build-system) > + (arguments > + `(#:haddock? #f ; Haddock fails to generate docs > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'patch-git-path > + (lambda* (#:key inputs #:allow-other-keys) > + (substitute* "src/KMonad/Args/TH.hs" > + (("\"git\"") > + (string-append "\"" (search-input-file inputs "/bin/git") "\""))))) > + (add-after 'install 'install-udev-rules > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (rules (string-append out "/lib/udev/rules.d"))) > + (mkdir-p rules) > + (call-with-output-file (string-append rules "/70-kmonad.rules") > + (lambda (port) > + (display > + (string-append > + "KERNEL==\"uinput\", MODE=\"0660\", " > + "GROUP=\"input\", OPTIONS+=\"static_node=uinput\"\n") > + port))) > + #t))) > + (add-after 'install-udev-rules 'install-documentation > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (doc (string-append out "/share/doc/kmonad-" ,version))) > + (install-file "README.md" doc) > + (copy-recursively "doc" doc) > + (copy-recursively "keymap" (string-append doc "/keymap")) > + #t)))))) > + (inputs > + (list ghc-cereal > + ghc-exceptions > + ghc-lens > + ghc-megaparsec > + ghc-optparse-applicative > + ghc-resourcet > + ghc-rio > + ghc-unliftio > + ghc-unordered-containers > + ghc-template-haskell)) > + (native-inputs (list ghc-hspec hspec-discover git)) > + (home-page "https://github.com/david-janssen/kmonad") > + (synopsis "Advanced keyboard manager") > + (description "KMonad is a keyboard remapping utility that supports > advanced functionality, such as custom keymap layers and modifiers, macros, > and conditional mappings that send a different keycode when tapped or held. > By operating at a lower level than most similar tools, it supports X11, > Wayland, and Linux console environments alike.") > - (license license:expat)))) > + (license license:expat))) > > (define-public nixfmt > (package > > base-commit: 385fb14f6482a955fbef4d4b21fccb3473beddd8 > -- > 2.45.2 Closing as the current version of kmonad is 0.4.2-1.07cd1cb from 2024-08-18.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.