projects/guix·blob python-team · refs

133 lines · 4.9 KiB

1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2025 jgart <[email protected]>
3;;; Copyright © 2026 Nemin <[email protected]>
4;;;
5;;; This file is part of GNU Guix.
6;;;
7;;; GNU Guix is free software; you can redistribute it and/or modify it
8;;; under the terms of the GNU General Public License as published by
9;;; the Free Software Foundation; either version 3 of the License, or (at
10;;; your option) any later version.
11;;;
12;;; GNU Guix is distributed in the hope that it will be useful, but
13;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15;;; GNU General Public License for more details.
16;;;
17;;; You should have received a copy of the GNU General Public License
18;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19
20(define-module (gnu packages hare-apps)
21 #:use-module (gnu packages hare-xyz)
22 #:use-module (gnu packages man)
23 #:use-module (guix build-system hare)
24 #:use-module (guix git-download)
25 #:use-module ((guix licenses) #:prefix license:)
26 #:use-module (guix packages))
27
28(define-public bonsai
29 (package
30 (name "bonsai")
31 (version "1.4.0")
32 (source
33 (origin
34 (method git-fetch)
35 (uri (git-reference
36 (url "https://git.sr.ht/~stacyharper/bonsai")
37 (commit (string-append "v" version))))
38 (file-name (git-file-name name version))
39 (sha256
40 (base32 "1453qzlc24awd17jfh3szhmrdfr3c5xvpy91pg79b2jf708xjrs5"))))
41 (build-system hare-build-system)
42 (inputs (list hare-ev hare-json))
43 (supported-systems %hare-supported-systems)
44 (home-page "https://bonsai.builtwithhare.org")
45 (synopsis "Finite State Machine structured as a tree that trigger commands")
46 (description "Bonsai is a Finite State Machine structured as a tree. It
47has been designed to trigger commands when successive events and/or a precise
48context is accepted. There is 4 kind of transition with specific acceptance
49rules:
50
51@itemize
52@item event transition: The received event name match the transition
53one
54@item context transition: The state context match the transition one @item
55exec transition: The transition command is run and succeed
56@item delay
57transition: The state wait for the delay transition duration. No other
58accepted event is received while waiting
59@end itemize
60
61The state will transition following every accepted transition. If there is no
62more available transition, the state goes back to the initial position.")
63 (license license:agpl3+)))
64
65(define-public hare-lsp
66 (package
67 (name "hare-lsp")
68 (version "0.2.1")
69 (source
70 (origin
71 (method git-fetch)
72 (uri (git-reference
73 (url "https://git.sr.ht/~whynothugo/hare-lsp")
74 (commit (string-append "v" version))))
75 (file-name (git-file-name name version))
76 (sha256
77 (base32 "12fqd8jh5sd7i12dbbjjyl1h1zlr6h30pqf22l0xf0sfl97zywdr"))))
78 (build-system hare-build-system)
79 (inputs (list hare-json))
80 (supported-systems %hare-supported-systems)
81 (arguments '(#:tests? #f))
82 (home-page "https://git.sr.ht/~whynothugo/hare-lsp/")
83 (synopsis "Language server implementation for Hare")
84 (description "This package provides a language server implementation for
85Hare.")
86 (license license:isc)))
87
88(define-public hare-mcron
89 (package
90 (name "hare-mcron")
91 (version "1.3.0")
92 (source
93 (origin
94 (method git-fetch)
95 (uri (git-reference
96 (url "https://git.sr.ht/~stacyharper/mcron")
97 (commit version)))
98 (file-name (git-file-name name version))
99 (sha256
100 (base32 "0rl8i0c0jkgr0c4zfhlma81k8985iigrq5vcpj5sdl2vg7fwwb1z"))))
101 (build-system hare-build-system)
102 (native-inputs (list scdoc))
103 (inputs (list hare-ev))
104 (supported-systems %hare-supported-systems)
105 (home-page "https://mcron.builtwithhare.org/")
106 (synopsis "Sleeping cron job scheduler")
107 (description "Mcron is a cron implementation that is designed to be used
108on suspendable machines, like mobile phones. It will wake the device from
109suspension to trigger the tasks.")
110 (license license:gpl3+)))
111
112(define-public sxmobar
113 (package
114 (name "sxmobar")
115 (version "1.2.0")
116 (source
117 (origin
118 (method git-fetch)
119 (uri (git-reference
120 (url "https://git.sr.ht/~stacyharper/sxmobar")
121 (commit (string-append "v" version))))
122 (file-name (git-file-name name version))
123 (sha256
124 (base32 "1dlw4sbf3awzxvglmfml5fmi9w6zmqxr2f4xqsrwchi154bixix9"))))
125 (build-system hare-build-system)
126 (native-inputs (list scdoc))
127 (supported-systems %hare-supported-systems)
128 (home-page "https://sxmobar.builtwithhare.org")
129 (synopsis "Status bar component manager")
130 (description "sxmobar is a status bar component manager. It is used to
131generate status lines for @command{i3status}, @command{i3bar},
132@command{swaybar}, and others.")
133 (license license:agpl3+)))