mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
python3Packages.jsonpatch: migrate to pyproject (#550684)
This commit is contained in:
@@ -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 = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user