From 459ac609d575ebaa690a1bd56f8431311cc89bb1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 8 Mar 2024 11:25:58 +0100 Subject: [PATCH 1/2] python311Packages.bc-detect-secrets: 1.5.1 -> 1.5.4 Diff: https://github.com/bridgecrewio/detect-secrets/compare/refs/tags/1.5.1...1.5.4 --- pkgs/development/python-modules/bc-detect-secrets/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bc-detect-secrets/default.nix b/pkgs/development/python-modules/bc-detect-secrets/default.nix index ec6818a68083..2cf9c5ae1c1a 100644 --- a/pkgs/development/python-modules/bc-detect-secrets/default.nix +++ b/pkgs/development/python-modules/bc-detect-secrets/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "bc-detect-secrets"; - version = "1.5.1"; + version = "1.5.4"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "bridgecrewio"; repo = "detect-secrets"; rev = "refs/tags/${version}"; - hash = "sha256-PNeSm0+4MwlxFO7d5um1DGhRZcgri2srXZwlsWW1nQs="; + hash = "sha256-Gm8PYN9vqYkGaGKpLZkx0Ehd1P3G2d5LkSjWXxpPerI="; }; propagatedBuildInputs = [ From c14c22314075609b9e2395168f800aa6a162c9c8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 8 Mar 2024 11:29:06 +0100 Subject: [PATCH 2/2] python311Packages.bc-detect-secrets: refactor --- .../python-modules/bc-detect-secrets/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/bc-detect-secrets/default.nix b/pkgs/development/python-modules/bc-detect-secrets/default.nix index 2cf9c5ae1c1a..e15cae256240 100644 --- a/pkgs/development/python-modules/bc-detect-secrets/default.nix +++ b/pkgs/development/python-modules/bc-detect-secrets/default.nix @@ -10,13 +10,14 @@ , pyyaml , requests , responses +, setuptools , unidiff }: buildPythonPackage rec { pname = "bc-detect-secrets"; version = "1.5.4"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.8"; @@ -27,6 +28,10 @@ buildPythonPackage rec { hash = "sha256-Gm8PYN9vqYkGaGKpLZkx0Ehd1P3G2d5LkSjWXxpPerI="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ pyyaml requests