From 1b7c36d436fba30de67d3c35b26437176a026792 Mon Sep 17 00:00:00 2001 From: Franz Geffke Date: Fri, 30 May 2025 15:03:27 +0100 Subject: px: Remove: px, px-unattended-upgrades --- px/packages/package-management.scm | 57 ++------------------------------------ 1 file changed, 2 insertions(+), 55 deletions(-) diff --git a/px/packages/package-management.scm b/px/packages/package-management.scm index 6924c77..99aba0c 100644 --- a/px/packages/package-management.scm +++ b/px/packages/package-management.scm @@ -2,69 +2,16 @@ ;;; Copyright © 2021-2025 Franz Geffke (define-module (px packages package-management) - #:use-module (guix build-system python) #:use-module (guix build-system cmake) #:use-module (guix download) #:use-module (guix packages) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) + #:use-module (gnu packages base) #:use-module (gnu packages serialization) - #:use-module (gnu packages python-build) - #:use-module (gnu packages python-xyz) #:use-module (gnu packages guile) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages base)) - -(define-public px - (package - (name "px") - (version "0.0.21") - (source - (origin - (method url-fetch) - (uri (string-append "https://source.pantherx.org/" name "_v" version - ".tgz")) - (sha256 - (base32 "1zinc00ys5byjhxx7gl2rspd572kqsvdvaxab7g5wajpknsnh87d")))) - (build-system python-build-system) - (arguments - `(#:tests? #f - #:phases (modify-phases %standard-phases - (delete 'sanity-check)))) - (inputs `(("python-appdirs" ,python-appdirs))) - (home-page "https://www.pantherx.org/") - (synopsis "px is a guix overlay that aims to automate certain steps") - (description - "This package provides a number of helpers that combine repetitive -guix commands into one-liners; for ex. px update apply.") - (license license:gpl3))) - -(define-public px-unattended-upgrades - (package - (name "px-unattended-upgrades") - (version "0.0.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://source.pantherx.org/" name "_v" version - ".tgz")) - (sha256 - (base32 "0qzkx32wyfy8i12zcfx761kbd8nmxlw6ihcgqpycjkb3f2qgfs05")))) - (build-system python-build-system) - (arguments - `(#:tests? #f - #:phases (modify-phases %standard-phases - (delete 'sanity-check)))) - (inputs `(("px" ,px) - ("python-appdirs" ,python-appdirs) - ("python-psutil" ,python-psutil))) - (home-page "https://www.pantherx.org/") - (synopsis "Unattended upgrades limited to run once per boot") - (description - "Unattended upgrades are to be run as root system service or via cron -and simply prevent running the upgrade twice before rebooting.") - (license license:expat))) + #:use-module (gnu packages pkg-config)) (define-public guix-tools (package -- cgit v1.2.3