mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-05-24 13:05:35 +00:00
Compare commits
2 Commits
7d9214d18e
...
f45687f13b
Author | SHA1 | Date | |
---|---|---|---|
|
f45687f13b | ||
|
c2a899bd7d |
33
README.org
33
README.org
@ -106,37 +106,58 @@ Rosenthal 頻道定義如下,將其加入 =~/.config/guix/channels.scm= 以由
|
|||||||
|
|
||||||
** Content / 內容
|
** Content / 內容
|
||||||
*** Packages / 軟件包
|
*** Packages / 軟件包
|
||||||
|
+ aquamarine
|
||||||
+ cloudflared
|
+ cloudflared
|
||||||
+ dnsmasq-china-list
|
+ dnsmasq-china-list
|
||||||
|
+ emacs-pcmpl-tailscale
|
||||||
+ emacs-wakatime-mode
|
+ emacs-wakatime-mode
|
||||||
+ grimblast
|
+ grimblast
|
||||||
|
+ grub-efi-luks2
|
||||||
|
+ hyprcursor
|
||||||
+ hyprland
|
+ hyprland
|
||||||
|
+ hyprland-protocols
|
||||||
|
+ hyprlang
|
||||||
|
+ hyprpicker
|
||||||
|
+ hyprutils
|
||||||
|
+ hyprwayland-scanner
|
||||||
+ socks2http
|
+ socks2http
|
||||||
+ tree-sitter-yaml
|
+ tree-sitter-yaml
|
||||||
+ xdg-desktop-portal-hyprland
|
+ xdg-desktop-portal-hyprland
|
||||||
|
|
||||||
Binary Packages / 二進制包:
|
Binary Packages / 二進制包:
|
||||||
|
+ atuin-bin
|
||||||
+ clash-bin
|
+ clash-bin
|
||||||
+ clash-meta-bin
|
|
||||||
+ hugo-bin
|
+ hugo-bin
|
||||||
|
+ mihomo-bin
|
||||||
+ shadow-tls-bin
|
+ shadow-tls-bin
|
||||||
+ sing-box-bin
|
+ sing-box-bin
|
||||||
+ tailscale-bin
|
+ tailscale-bin
|
||||||
+ wakapi-bin
|
+ wakapi-bin
|
||||||
+ wakatime-cli-bin
|
+ wakatime-cli-bin
|
||||||
|
|
||||||
Non-free Packages / 非自由軟件:
|
Nonfree Software / 非自由軟件:
|
||||||
+ cloudflare-warp-bin
|
+ cloudflare-warp-bin
|
||||||
|
|
||||||
*** Services / 服務
|
*** Services / 服務
|
||||||
|
+ btrbk-service-type
|
||||||
+ clash-service-type
|
+ clash-service-type
|
||||||
+ cloudflare-tunnel-service-type
|
|
||||||
+ cloudflare-warp-service-type
|
|
||||||
+ iwd-service-type
|
+ iwd-service-type
|
||||||
|
+ jellyfin-service-type
|
||||||
+ miniflux-service-type
|
+ miniflux-service-type
|
||||||
|
+ misskey-service-type
|
||||||
+ qbittorrent-service-type
|
+ qbittorrent-service-type
|
||||||
+ (home-)shadow-tls-service-type
|
+ shadow-tls-service-type
|
||||||
+ smartdns-service-type
|
+ smartdns-service-type
|
||||||
|
+ vaultwarden-service-type
|
||||||
|
|
||||||
|
+ home-qbittorrent-service-type
|
||||||
|
+ home-shadow-tls-service-type
|
||||||
+ home-socks2http-service-type
|
+ home-socks2http-service-type
|
||||||
+ tailscale-service-type
|
|
||||||
+ home-wakapi-service-type
|
+ home-wakapi-service-type
|
||||||
|
|
||||||
|
Nonfree Network Services / 非自由網絡服務:
|
||||||
|
+ cloudflare-tunnel-service-type
|
||||||
|
+ tailscale-service-type
|
||||||
|
|
||||||
|
Nonfree Software / 非自由軟件:
|
||||||
|
+ cloudflare-warp-service-type
|
||||||
|
@ -19,6 +19,56 @@
|
|||||||
(define license
|
(define license
|
||||||
(@@ (guix licenses) license))
|
(@@ (guix licenses) license))
|
||||||
|
|
||||||
|
(define-public atuin-bin
|
||||||
|
(package
|
||||||
|
(name "atuin-bin")
|
||||||
|
(version "18.3.0")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"https://github.com/atuinsh/atuin/releases/download/v"
|
||||||
|
version "/atuin-x86_64-unknown-linux-gnu.tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"14hp673i8in9adahg01bldlwyip7kg5vdnqi5jczinv8ibxnswg3"))))
|
||||||
|
(build-system copy-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:install-plan #~'(("atuin" "bin/"))
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'install 'patch-elf
|
||||||
|
(lambda _
|
||||||
|
(let ((ld.so (string-append #$(this-package-input "glibc")
|
||||||
|
#$(glibc-dynamic-linker)))
|
||||||
|
(runpath (string-join
|
||||||
|
(list
|
||||||
|
(string-append
|
||||||
|
(ungexp
|
||||||
|
(this-package-input "gcc") "lib") "/lib")
|
||||||
|
(string-append
|
||||||
|
#$(this-package-input "glibc") "/lib"))
|
||||||
|
":")))
|
||||||
|
(define (patch-elf file)
|
||||||
|
(format #t "Patching ~a ..." file)
|
||||||
|
(unless (string-contains file ".so")
|
||||||
|
(invoke "patchelf" "--set-interpreter" ld.so file))
|
||||||
|
(invoke "patchelf" "--set-rpath" runpath file)
|
||||||
|
(display " done\n"))
|
||||||
|
(for-each (lambda (file)
|
||||||
|
(patch-elf file))
|
||||||
|
(find-files
|
||||||
|
(string-append #$output "/bin")))))))))
|
||||||
|
(supported-systems '("x86_64-linux"))
|
||||||
|
(native-inputs (list patchelf-0.16))
|
||||||
|
(inputs (list `(,gcc "lib") glibc))
|
||||||
|
(home-page "https://atuin.sh/")
|
||||||
|
(synopsis "Sync, search and backup shell history")
|
||||||
|
(description
|
||||||
|
"Atuin replaces existing shell history with a SQLite database, and records
|
||||||
|
additional context for commands. Additionally, it provides optional and fully
|
||||||
|
encrypted synchronisation of history between machines, via an Atuin server.")
|
||||||
|
(license license:gpl3)))
|
||||||
|
|
||||||
(define-public clash-bin
|
(define-public clash-bin
|
||||||
(package
|
(package
|
||||||
(name "clash-bin")
|
(name "clash-bin")
|
||||||
|
Loading…
Reference in New Issue
Block a user