From 5e490592310e28aeaa5e3c4475af3e50fc67d416 Mon Sep 17 00:00:00 2001 From: John Kehayias Date: Fri, 12 Aug 2022 15:01:50 -0400 Subject: nongnu: Add protonup-ng. * nongnu/packages/steam-client.scm (protonup-ng): New variable. --- nongnu/packages/steam-client.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/nongnu/packages/steam-client.scm b/nongnu/packages/steam-client.scm index 038d846..d9a83be 100644 --- a/nongnu/packages/steam-client.scm +++ b/nongnu/packages/steam-client.scm @@ -51,13 +51,16 @@ ;;; module is apparently disallowed inside build phases. (define-module (nongnu packages steam-client) + #:use-module ((guix licenses) #:prefix license:) #:use-module ((nonguix licenses) #:prefix license:) #:use-module (guix gexp) + #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix packages) #:use-module (guix records) #:use-module (guix download) #:use-module (guix build-system gnu) + #:use-module (guix build-system python) #:use-module (guix build-system trivial) #:use-module (guix transformations) #:use-module (gnu packages) @@ -86,6 +89,8 @@ #:use-module (gnu packages pciutils) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages toolkits) #:use-module (nonguix utils)) @@ -726,3 +731,27 @@ all games will be installed.")))) Valve. This package provides a script for launching Steam in a Guix container which will use the directory @file{$HOME/.local/share/guix-sandbox-home} where all games will be installed.")))) + +(define-public protonup-ng + (package + (name "protonup-ng") + (version "0.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cloudishBenne/protonup-ng") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0yd2mhhqxzarqxk85zf42s931jzc94f1cssn1hblsqghr79laa45")))) + (build-system python-build-system) + (arguments + (list #:tests? #f)) ; there are no tests + (inputs + (list python-configparser python-requests)) + (home-page "https://github.com/cloudishBenne/protonup-ng") + (synopsis "Manage Proton-GE Installations") + (description "ProtonUp-ng is a CLI program and API to automate the installation +and update of GloriousEggroll's Proton-GE.") + (license license:gpl3))) -- cgit v1.2.3