python3Packages.bc-jsonpath-ng: migrate to pyproject (#528712)
This commit is contained in:
@@ -5,21 +5,26 @@
|
||||
fetchFromGitHub,
|
||||
ply,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "bc-jsonpath-ng";
|
||||
version = "1.6.1";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bridgecrewio";
|
||||
repo = "jsonpath-ng";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-FWP4tzlacAWVXG3YnPwl5MKc12geaCxZ2xyKx9PSarU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
decorator
|
||||
ply
|
||||
];
|
||||
@@ -40,4 +45,4 @@ buildPythonPackage rec {
|
||||
license = with lib.licenses; [ asl20 ];
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user