diff --git a/pkgs/development/python-modules/bc-jsonpath-ng/default.nix b/pkgs/development/python-modules/bc-jsonpath-ng/default.nix index 07ebf05b5184..6091e329e81a 100644 --- a/pkgs/development/python-modules/bc-jsonpath-ng/default.nix +++ b/pkgs/development/python-modules/bc-jsonpath-ng/default.nix @@ -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 ]; }; -} +})