diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-02-13 11:37:49 +0000 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-02-21 21:52:40 +0100 |
| commit | 21be0f63f87fc60a31da1f2910c5eefad9ed3386 (patch) | |
| tree | 3fcfd6bc0ad700ad728f47ed7637f74d412600a3 /gnu/packages/python-xyz.scm | |
| parent | 202d682caffaf19abe62913a133a18ec15bbd589 (diff) | |
gnu: Add python-configupdater.
* gnu/packages/python-xyz.scm (python-configupdater): New variable.
Change-Id: Ibbeca08f8807091d7c06ab3bc6aa791905ede7fa
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 497230b1c1c..3ef270b45b1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16467,6 +16467,35 @@ pseudo terminal (pty), and interact with both the process and its pty.") "This package provides a framework to implement simple but nice CLIs.") (license license:asl2.0))) +(define-public python-configupdater + (package + (name "python-configupdater") + (version "3.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pyscaffold/configupdater") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0s2znph12lrs2wcnwz114153dkr1ccn2g7z8xcc83ypy15sbmz6r")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest + python-pytest-cov + python-setuptools + python-setuptools-scm)) + (home-page "https://github.com/pyscaffold/configupdater") + (synopsis "Parser like ConfigParser but for updating configuration files") + (description + "ConfigUpdater is a Python library for updating INI configuration files +while preserving the original file's formatting, structure, and comments. +Unlike Python's standard ConfigParser, ConfigUpdater maintains minimal, +targeted changes--keeping comments, section ordering, key-value pair +ordering, and original casing intact.") + (license license:expat))) + (define-public python-crccheck (package (name "python-crccheck") |
