diff --git a/pkgs/development/python-modules/container-inspector/default.nix b/pkgs/development/python-modules/container-inspector/default.nix index 430855c6f03e..6d05455ae439 100644 --- a/pkgs/development/python-modules/container-inspector/default.nix +++ b/pkgs/development/python-modules/container-inspector/default.nix @@ -13,27 +13,21 @@ buildPythonPackage rec { pname = "container-inspector"; - version = "33.0.0"; - format = "setuptools"; + version = "33.0.1"; + pyproject = true; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "nexB"; - repo = pname; + repo = "container-inspector"; rev = "refs/tags/v${version}"; - hash = "sha256-vtC42yq59vTE+4tF5CSm9zszj8goOP5i6+NMF2n4T1Q="; + hash = "sha256-bXJ4UIDVhiU0DurEeRiyLlSUrNRgwoMqAxXxGb/CcJs="; }; dontConfigure = true; - postPatch = '' - # PEP440 support was removed in newer setuptools, https://github.com/nexB/container-inspector/pull/51 - substituteInPlace setup.cfg \ - --replace ">=3.7.*" ">=3.7" - ''; - - nativeBuildInputs = [ setuptools-scm ]; + build-system = [ setuptools-scm ]; propagatedBuildInputs = [ attrs