python3Packages.jsonpatch: migrate to pyproject (#550684)

This commit is contained in:
Sandro
2026-08-10 23:36:57 +00:00
committed by GitHub

View File

@@ -4,21 +4,26 @@
fetchFromGitHub,
jsonpointer,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "jsonpatch";
version = "1.33";
format = "setuptools";
__structuredAttrs = true;
pyproject = true;
src = fetchFromGitHub {
owner = "stefankoegl";
repo = "python-json-patch";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-JHBB64LExzHQVoFF2xcsqGlNWX/YeEBa1M/TmfeQLWI=";
};
propagatedBuildInputs = [ jsonpointer ];
build-system = [ setuptools ];
dependencies = [ jsonpointer ];
nativeCheckInputs = [ pytestCheckHook ];
@@ -32,4 +37,4 @@ buildPythonPackage rec {
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
})