Compare commits

...

12 commits

Author SHA1 Message Date
Gray Wolf
b738317446 Merge branch 'jb-tk' into 'master'
Add tanka

See merge request nonguix/nonguix!712
2025-09-26 11:48:27 +00:00
Jelle Licht
25d7a8091c
nongnu: steam-client: Update to 1.0.0.84.
* nongnu/packages/game-client.scm (steam-client): Update to 1.0.0.84.
2025-09-23 22:45:08 +02:00
Murilo
c33db8571a
nongnu: nvidia-driver: Update to 580.82.09.
* nongnu/packages/nvidia.scm (nvidia-driver): Update to 580.82.09.
(nvidia-settings): Likewise.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
2025-09-23 21:56:55 +08:00
Murilo
2fe28d2a1b
nongnu: nvidia-driver: Install additional components.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]
<#:install-plan>: Install 'nvngx_dlssg.dll' and 'nvoptix.bin'.
<#:phases>{create-misc-files}: Set 'nvidia_layers.json' library_path
to the store absolute path of 'libnvidia-present.so'.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
2025-09-23 21:56:55 +08:00
Murilo
9302c6319b
nongnu: egl-x11: Update to 1.0.3.
* nongnu/packages/nvidia.scm (egl-x11): Update to 1.0.3.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
2025-09-23 21:56:55 +08:00
Murilo
63c7e04386
nongnu: egl-gbm: Update to 1.1.2.1.
* nongnu/packages/nvidia.scm (egl-gbm): Update to 1.1.2.1.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
2025-09-23 21:56:55 +08:00
Nicolas Graves
7a67115e0d
import: Add firefox updater.
* guix/import/firefox.scm: Implement basic firefox updater.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
2025-09-23 21:56:55 +08:00
Ashish SHUKLA
017e4bf864
nongnu: signal-desktop: Update to 7.71.0.
* nongnu/packages/messaging.scm (signal-desktop): Update to 7.71.0.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
2025-09-23 21:56:55 +08:00
Hilton Chain
0864aa6ba5
nongnu: steam-client: Set supported-systems.
* nongnu/packages/game-client.scm (steam-client) [supported-systems]: Limit to
x86_64-linux only.
2025-09-23 21:56:55 +08:00
Hilton Chain
0531ba5050
nongnu: heroic-client: Set supported-systems.
* nongnu/packages/game-client.scm (heroic-client) [supported-systems]: Limit to
x86_64-linux only.
2025-09-23 21:56:53 +08:00
Tomas Volf
bee83d6649 nongnu: Add tanka.
* nongnu/packages/k8s.scm (tanka): New variable.
2025-07-12 14:08:21 +00:00
Tomas Volf
075fff5a2d nongnu: Add jsonnet-bundler.
* nongnu/packages/k8s.scm (jsonnet-bundler): New variable.
2025-07-12 14:08:21 +00:00
5 changed files with 143 additions and 16 deletions

47
guix/import/firefox.scm Normal file
View file

@ -0,0 +1,47 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr>
;;; This file is not part of GNU Guix but requires this naming scheme
;;; so that the %firefox-updater is properly read when using
;;; `guix refresh -L$(pwd) firefox' in nonguix root.
(define-module (guix import firefox)
#:use-module (guix import json)
#:use-module (guix memoization)
#:use-module (guix packages)
#:use-module (guix upstream)
#:export (%firefox-updater))
(define firefox-json-url "https://product-details.mozilla.org/1.0/firefox_versions.json")
(define firefox-versions
(memoize
(lambda _
(let ((alist (json-fetch firefox-json-url)))
(list (cons "firefox" (assoc-ref alist "LATEST_FIREFOX_VERSION"))
(cons "firefox-esr" (assoc-ref alist "FIREFOX_ESR")))))))
(define* (latest-release package #:key (version #f) partial-version?)
"Return an <upstream-source> for the latest-release of PACKAGE."
(let* ((name (package-name package))
(version (or version (assoc-ref (firefox-versions) name))))
(upstream-source
(package name)
(version version)
(urls
(list (string-append "https://archive.mozilla.org/pub/firefox/releases/"
version "/source/firefox-"
version ".source.tar.xz"))))))
(define (firefox-package? package)
"Return true if PACKAGE is Firefox."
(member (package-name package) (list "firefox" "firefox-esr")))
(define %firefox-updater
(upstream-updater
(name 'firefox)
(description "Updater for Firefox packages")
(pred firefox-package?)
(import latest-release)))
;;; firefox.scm ends here.

View file

@ -105,12 +105,13 @@
(description "Heroic is an Open Source Game Launcher. Right now it supports launching
games from the Epic Games Store using Legendary, GOG Games using our custom
implementation with gogdl and Amazon Games using Nile.")
(license license:gpl3)))
(license license:gpl3)
(supported-systems '("x86_64-linux"))))
(define steam-client
(package
(name "steam-client")
(version "1.0.0.83")
(version "1.0.0.84")
(source
(origin
(method url-fetch)
@ -118,7 +119,7 @@ implementation with gogdl and Amazon Games using Nile.")
version ".tar.gz"))
(sha256
(base32
"10lgmjsada0n2a4h1vgrnwcjcka7vp4igy82f1n99zbyrjq845kr"))
"0i3v0zz36x7v81qslvfbiby57hk96hn15w4xxal1lgvrb0npdyii"))
(file-name (string-append name "-" version ".tar.gz"))))
(build-system gnu-build-system)
(arguments
@ -160,7 +161,8 @@ implementation with gogdl and Amazon Games using Nile.")
(home-page "https://store.steampowered.com")
(synopsis "Digital distribution platform for managing and playing games")
(description "Steam is a digital software distribution platform created by Valve.")
(license (license:nonfree "file:///share/doc/steam/steam_subscriber_agreement.txt"))))
(license (license:nonfree "file:///share/doc/steam/steam_subscriber_agreement.txt"))
(supported-systems '("x86_64-linux"))))
(define steam-client-libs
`(("at-spi2-core" ,at-spi2-core) ; Required (often) for SteamVR interface.

View file

@ -1,5 +1,6 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2023 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz>
(define-module (nongnu packages k8s)
#:use-module (guix build-system copy)
@ -215,3 +216,78 @@ more complex, real-world scenarios without demanding extensive resources.
Its a lightweight, portable, and configurable solution useful in
continuous integration (CI) workflows.")
(license license:asl2.0)))
(define-public jsonnet-bundler
(package
(name "jsonnet-bundler")
(version "0.6.0")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/jsonnet-bundler/jsonnet-bundler/releases"
"/download/v" version "/jb-linux-amd64"))
(sha256
(base32
"0m6vf36z0xlaa9cdvkb4xdmlzpvp4acv8xhm5faf1wrzpkxlmrbq"))))
(build-system copy-build-system)
(arguments
(list
#:substitutable? #f
#:install-plan
#~'(("jb" "bin/"))
#:phases
#~(modify-phases %standard-phases
(replace 'unpack
(lambda* (#:key source #:allow-other-keys)
(copy-file source "./jb")))
(add-before 'install 'chmod
(lambda _
(chmod "jb" #o555))))))
(home-page "https://github.com/jsonnet-bundler/jsonnet-bundler")
(supported-systems '("x86_64-linux"))
(synopsis "Package manager for Jsonnet")
(description
"Simple package manager for Jsonnet. Allows you to use third-party
repositories of Jsonnet libraries.
In alpha stage, flags, configuration, behavior and design may change
significantly in following releases.")
(license license:asl2.0)))
(define-public tanka
(package
(name "tanka")
(version "0.33.0")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/grafana/tanka/releases"
"/download/v" version "/tk-linux-amd64"))
(sha256
(base32
"1ff066pkd6071031bfazamfcqf7r3481sh94nh0vqxk1ry7ysisi"))))
(build-system copy-build-system)
(arguments
(list
#:substitutable? #f
#:install-plan
#~'(("tk" "bin/"))
#:phases
#~(modify-phases %standard-phases
(replace 'unpack
(lambda* (#:key source #:allow-other-keys)
(copy-file source "./tk")))
(add-before 'install 'chmod
(lambda _
(chmod "tk" #o555)))
(add-after 'install 'wrap
(lambda* (#:key outputs #:allow-other-keys)
(wrap-program (search-input-file outputs "bin/tk")
'("PATH" prefix (#$(file-append jsonnet-bundler "/bin")))))))))
(home-page "https://github.com/grafana/tanka")
(supported-systems '("x86_64-linux"))
(synopsis "Configuration utility for Kubernetes based on Jsonnet")
(description
"Configuration utility for Kubernetes which uses Jsonnet instead of YAML.
Provides simple and concise approach to managing your deployments.")
(license license:asl2.0)))

View file

@ -83,7 +83,7 @@ its core.")
(define-public signal-desktop
(package
(name "signal-desktop")
(version "7.70.0")
(version "7.71.0")
(source
(origin
(method url-fetch)
@ -92,7 +92,7 @@ its core.")
"https://updates.signal.org/desktop/apt/pool/s/" name "/" name "_" version
"_amd64.deb"))
(sha256
(base32 "1f3vgfyb53c1qbvcmhmmbwz4iychdvbiyrpa2rgnzr3jp5ax8dhp"))))
(base32 "14lk8s040alj2lxqw30hh54l4p3kpq1mxq64l8sqlph2y9c3hig3"))))
(supported-systems '("x86_64-linux"))
(build-system chromium-binary-build-system)
(arguments

View file

@ -228,9 +228,9 @@ ACTION==\"unbind\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\
(define-public nvidia-driver
(package
(name "nvidia-driver")
(version "570.181")
(version "580.82.09")
(source (nvidia-source
version "1yfwwfwbl5ph7s7zddixa0w8nb1wdg25sjysg98fl0hq7z72avgh"))
version "1dwmardvxb2w6mx7hich5wc06f50qz92jk63kbhf059fv8rgiv1y"))
(build-system copy-build-system)
(arguments
(list #:modules '((guix build copy-build-system)
@ -245,8 +245,8 @@ ACTION==\"unbind\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\
("x86_64-linux" ".")
(_ "."))
"lib/" #:include-regexp ("^./[^/]+\\.so"))
("." "lib/nvidia/wine/" #:include-regexp ("_?nvngx\\.dll$"))
("." "share/nvidia/" #:include-regexp ("nvidia-application-profiles"))
("." "lib/nvidia/wine/" #:include-regexp ("_?nvngx.*?\\.dll$"))
("." "share/nvidia/" #:include-regexp ("nvidia-application-profiles|nvoptix.bin"))
("." "share/egl/egl_external_platform.d/" #:include-regexp ("(gbm|wayland|xcb|xlib)\\.json"))
("10_nvidia.json" "share/glvnd/egl_vendor.d/")
("90-nvidia.rules" "lib/udev/rules.d/")
@ -287,6 +287,8 @@ ACTION==\"unbind\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\
(substitute* '("nvidia_icd.json"
"nvidia_layers.json")
(("libGLX_nvidia\\.so\\.." all)
(string-append #$output "/lib/" all))
(("libnvidia-present\\.so\\.[0-9.]*" all)
(string-append #$output "/lib/" all)))
;; VulkanSC ICD configuration
@ -627,9 +629,9 @@ add @code{nvidia_drm.modeset=1} to @code{kernel-arguments} as well.")
(define-public nvidia-settings
(package
(name "nvidia-settings")
(version "570.181")
(version "580.82.09")
(source (nvidia-settings-source
name version "0fq72pj1b4iwlyivi9nmqr45iz6aqqdxgdbgk26x9m1yfxgpy748"))
name version "0sy3mrg3vmyba6m87nanzmpvv2hzhb6nqdckhlaxv8wppmr7fvms"))
(build-system gnu-build-system)
(arguments
(list #:tests? #f ;no test suite
@ -849,7 +851,7 @@ variables @code{__GLX_VENDOR_LIBRARY_NAME=nvidia} and
(define-public egl-gbm
(package
(name "egl-gbm")
(version "1.1.2")
(version "1.1.2.1")
(source (origin
(method git-fetch)
(uri (git-reference
@ -858,7 +860,7 @@ variables @code{__GLX_VENDOR_LIBRARY_NAME=nvidia} and
(file-name (git-file-name name version))
(sha256
(base32
"1rfgfi06ry7c7hnzdm4b0dc8r3hmbfn2rd37z3mc4wn38sgz5l3a"))))
"1zcr1jksnh0431marzvgg301aybli29r1xw5vs4wnxgcp9bigvn6"))))
(build-system meson-build-system)
(native-inputs (list pkg-config))
(inputs (list eglexternalplatform mesa-for-nvda))
@ -872,7 +874,7 @@ GBM EGL support.")
(define-public egl-x11
(package
(name "egl-x11")
(version "1.0.2")
(version "1.0.3")
(source (origin
(method git-fetch)
(uri (git-reference
@ -881,7 +883,7 @@ GBM EGL support.")
(file-name (git-file-name name version))
(sha256
(base32
"0s18xpylz16ry51xp1bs2s4hmvwsq49hcfc0gnmmvnymdzm041aq"))))
"1hh1wkdijjhsmym5ab5nw8wyi0w9x7aznnmyg8sczhwdfb5rdnrj"))))
(build-system meson-build-system)
(native-inputs (list pkg-config))
(inputs (list eglexternalplatform mesa-for-nvda))