python3Packages.augeas: migrate to pyproject (#527606)

This commit is contained in:
Yohann Boniface
2026-06-03 23:56:14 +00:00
committed by GitHub
@@ -7,19 +7,22 @@
augeas,
cffi,
pkgs, # for libxml2
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "augeas";
version = "1.2.0";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "hercules-team";
repo = "python-augeas";
rev = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-Lq8ckra3sqN38zo1d5JsEq6U5TtLKRmqysoWNwR9J9A=";
};
build-system = [ setuptools ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
@@ -27,17 +30,17 @@ buildPythonPackage rec {
pkgs.libxml2
];
propagatedBuildInputs = [ cffi ];
dependencies = [ cffi ];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "augeas" ];
meta = {
changelog = "https://github.com/hercules-team/python-augeas/releases/tag/v${version}";
changelog = "https://github.com/hercules-team/python-augeas/releases/tag/v${finalAttrs.version}";
description = "Pure python bindings for augeas";
homepage = "https://github.com/hercules-team/python-augeas";
license = lib.licenses.lgpl2Plus;
platforms = lib.platforms.unix;
};
}
})