diff --git a/pkgs/development/python-modules/shtab/default.nix b/pkgs/development/python-modules/shtab/default.nix index 4aab5ed488bf..a86309e923d2 100644 --- a/pkgs/development/python-modules/shtab/default.nix +++ b/pkgs/development/python-modules/shtab/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - fetchpatch2, pytest-timeout, pytestCheckHook, pytest-cov-stub, @@ -13,24 +12,16 @@ buildPythonPackage rec { pname = "shtab"; - version = "1.7.2"; + version = "1.8.0"; pyproject = true; src = fetchFromGitHub { owner = "iterative"; repo = "shtab"; tag = "v${version}"; - hash = "sha256-ngTAST+6lBek0PHvULmlJZAHVU49YN5+XAu5KEk6cIM="; + hash = "sha256-VK3+JLb9Lh+YHixMa1Hjm5bYJ9vSmMPIkN6c3DeHDo8="; }; - patches = [ - # Fix bash error on optional nargs="?" (iterative/shtab#184) - (fetchpatch2 { - url = "https://github.com/iterative/shtab/commit/a04ddf92896f7e206c9b19d48dcc532765364c59.patch?full_index=1"; - hash = "sha256-H4v81xQLI9Y9R5OyDPJevCLh4gIUaiJKHVEU/eWdNbA="; - }) - ]; - nativeBuildInputs = [ setuptools setuptools-scm