diff options
author | Franz Geffke <franz@pantherx.org> | 2023-11-06 20:08:14 +0000 |
---|---|---|
committer | Franz Geffke <franz@pantherx.org> | 2023-11-06 20:08:14 +0000 |
commit | 47b4c9c854915df93893dbaa993accfacf9027fe (patch) | |
tree | 4f9b1742d63fcfbc94cc6b8d84f76c4d00c3a0b7 /px/packages/package-management.scm | |
parent | 0b426d7b7ed8e176bf464ef9e0683f74a6c9d20f (diff) |
rewrite: apply guix-reference formatting; cleanup some module imports
Diffstat (limited to 'px/packages/package-management.scm')
-rw-r--r-- | px/packages/package-management.scm | 85 |
1 files changed, 44 insertions, 41 deletions
diff --git a/px/packages/package-management.scm b/px/packages/package-management.scm index ffe8730..83d258d 100644 --- a/px/packages/package-management.scm +++ b/px/packages/package-management.scm @@ -5,52 +5,55 @@ #:use-module (guix build-system python) #:use-module (guix download) #:use-module (guix packages) - #:use-module ((guix licenses) #:prefix license:)) + #:use-module ((guix licenses) + #:prefix license:)) (define-public px (package - (name "px") - (version "0.0.19") - (source - (origin - (method url-fetch) - (uri (string-append "https://source.pantherx.org/" name "_v" version ".tgz")) - (sha256 (base32 "1yss5hmkrd80qa1gzd8l651fb0y1251cyvii03k0bimqf5vr4x4m")))) - (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 + (name "px") + (version "0.0.19") + (source + (origin + (method url-fetch) + (uri (string-append "https://source.pantherx.org/" name "_v" version + ".tgz")) + (sha256 + (base32 "1yss5hmkrd80qa1gzd8l651fb0y1251cyvii03k0bimqf5vr4x4m")))) + (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))) + (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 + (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))) + (license license:expat))) |