gnu: Add python-augeas.

* gnu/packages/python-xyz.scm (python-augeas): New variable.

Change-Id: I46d409debfbc358f0ff27c505fba089ceab4e195
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Artyom V. Poptsov 2024-05-17 15:24:05 +03:00 committed by Sharlatan Hellseher
parent ee86a504e9
commit 8f0b5e35f3
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5

View File

@ -25,9 +25,13 @@
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (guix build-system pyproject)
#:use-module (gnu packages)
#:use-module (gnu packages check)
#:use-module (gnu packages libffi)
#:use-module (gnu packages readline)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages xml))
@ -66,3 +70,28 @@ that have been made to the tree; it does as little modeling of configurations
as possible, and focuses exclusivley on transforming the tree-oriented syntax
of its public API to the myriad syntaxes of individual configuration files.")
(license license:lgpl2.1+)))
(define-public python-augeas
(package
(name "python-augeas")
(version "1.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/hercules-team/python-augeas")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1l17gl23f5naram1jaab7gjr9bhjdj97fd9sydvs7cmpns91rbrf"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest pkg-config))
(propagated-inputs
(list python-cffi))
(inputs
(list augeas libxml2))
(home-page "https://github.com/hercules-team/python-augeas")
(synopsis "Python bindings for Augeas")
(description "Pure Python bindings for @url{https://augeas.net, Augeas}.")
(license license:lgpl2.1+)))