diff options
| author | jgart <jgart@dismail.de> | 2025-08-21 13:03:26 -0500 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-04-06 11:46:23 +0200 |
| commit | 969918308b9f232246f7cc636c207da8235f7ac7 (patch) | |
| tree | 035d625fd9f6c359d6d1b15a4b8f4fc4e2836020 /gnu | |
| parent | 2ad4fb70a0f5b9e221bf95a092e6e6a53e9ce873 (diff) | |
gnu: Add toys.
* gnu/packages/package-management.scm (toys): New variable.
Co-authored-by: unwox <me@unwox.com>
Merges guix/guix!7605
Change-Id: I900c0b197427982a6b1dfdc09d4e4d24a7cdfb73
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/package-management.scm | 46 |
1 files changed, 45 insertions, 1 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 446916a0e36..066ff5123a5 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -21,7 +21,7 @@ ;;; Copyright © 2021, 2022, 2023, 2025 Maxim Cournoyer <maxim@guixotic.coop> ;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com> ;;; Copyright © 2022, 2023 Zhu Zihao <all_but_last@163.com> -;;; Copyright © 2023 jgart <jgart@dismail.de> +;;; Copyright © 2023, 2025-2026 jgart <jgart@dismail.de> ;;; Copyright © 2023 Wojtek Kosior <koszko@koszko.org> ;;; Copyright © 2023 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de> ;;; Copyright © 2024 Arun Isaac <arunisaac@systemreboot.net> @@ -31,6 +31,7 @@ ;;; Copyright © 2025 Tomás Ortín Fernández <quanrong@mailbox.org> ;;; Copyright © 2025-2026 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; Copyright © 2026 Carlos Durán Domínguez <wurt@wurt.eu> +;;; Copyright © 2025 unwox <me@unwox.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -797,6 +798,49 @@ with the @command{module} command commonly found on @acronym{HPC, high-performance computing} clusters.") (license license:gpl3+))) +(define-public toys + (let ((commit "8080a76df47660693915296c7c2d1b3a4e057b71") + (revision "0")) + (package + (name "toys") + (version (git-version "0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~whereiseveryone/toys") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09iffdvjpixik3whasfxk8b9wk4rcbv9604q454pw45h8gx3qml0")))) + (build-system guile-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'register-guix-extension + (lambda* (#:key outputs #:allow-other-keys) + (let ((ext-path (string-append #$output "/share/guix/extensions"))) + (mkdir-p ext-path) + (copy-recursively "guix/extensions" ext-path)))) + (add-after 'register-guix-extension 'clean-up + (lambda* _ + (delete-file "channels.scm") + (delete-file-recursively "guix")))))) + (native-inputs (list guile-3.0-latest)) + (inputs + (list guile-json-4 + guile-readline + guile-sqlite3 + guix)) + (native-search-paths (list $GUIX_EXTENSIONS_PATH)) + (home-page "https://toys.whereis.social/") + (synopsis "Search engine for Guix channels") + (description "Toys is a search engine for collecting and displaying Guix +channel data found across the internet. Toys provides a command-line +interface for interacting with the application.") + (license license:gpl3+)))) + (define-public guix-xsearch (package (name "guix-xsearch") |
