mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
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>
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user