GNU bug report logs - #78322
[PATCH] Add Konsave

Previous Next

Package: guix-patches;

Reported by: Sergio Pastor Pérez <sergio.pastorperez <at> gmail.com>

Date: Thu, 8 May 2025 16:45:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 78322 <at> debbugs.gnu.org (full text, mbox):

From: Sergio Pastor Pérez <sergio.pastorperez <at> gmail.com>
To: 78322 <at> debbugs.gnu.org
Cc: Sergio Pastor Pérez <sergio.pastorperez <at> gmail.com>
Subject: [PATCH v2 3/3] gnu: Add konsave.
Date: Fri,  9 May 2025 21:29:05 +0200
* gnu/packages/configuration-management.scm (konsave): New variable.

Change-Id: I975e17f9fa17db0fa22e93798ed5ff2f4011a305
---
 gnu/packages/configuration-management.scm | 41 +++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/configuration-management.scm b/gnu/packages/configuration-management.scm
index 36450ad70c..7b3601ce8f 100644
--- a/gnu/packages/configuration-management.scm
+++ b/gnu/packages/configuration-management.scm
@@ -20,6 +20,7 @@
 (define-module (gnu packages configuration-management)
   #:use-module (gnu packages)
   #:use-module (guix build-system go)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
   #:use-module (gnu packages golang)
@@ -28,6 +29,8 @@ (define-module (gnu packages configuration-management)
   #:use-module (gnu packages golang-vcs)
   #:use-module (gnu packages golang-web)
   #:use-module (gnu packages golang-xyz)
+  #:use-module (gnu packages python-build)
+  #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages textutils)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
@@ -117,3 +120,41 @@ (define-public chezmoi
     (description "This package helps to manage personal configuration files
 across multiple machines.")
     (license license:expat)))
+
+(define-public konsave
+  (package
+    (name "konsave")
+    (version "2.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Prayag2/konsave")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1j5nszy41j4fd6b5w7188gphfk2s0dj44rs7fg55a4izvm0brbx9"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-pyyaml))
+    (native-inputs (list python-setuptools
+                         python-wheel))
+    (arguments
+     '(#:tests? #false ; no tests.
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'sanity-check 'set-home-directory
+           ;; sanity-check requires a home directory since importing the
+           ;; `const.py' module creates a directory to save configurations.
+           (lambda _ (setenv "HOME" "/tmp") #t)))))
+    (home-page "https://github.com/prayag2/konsave")
+    (synopsis "Dotfiles manager")
+    (description
+     "Konsave is @acronym{CLI, Command Line Program} that lets you backup your dotfiles and
+switch to other ones.  Features:
+@itemize
+@item Storing configurations in profiles.
+@item Exporting profiles to '.knsv' files.
+@item Import profiles from '.knsv' files.
+@item Official support for KDE Plasma.
+@end itemize")
+    (license license:gpl3)))
-- 
2.49.0





This bug report was last modified 8 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.