diff --git a/pkgs/tools/package-management/reuse/default.nix b/pkgs/tools/package-management/reuse/default.nix index 11d08c0dfd5a..8ba5be3e7795 100644 --- a/pkgs/tools/package-management/reuse/default.nix +++ b/pkgs/tools/package-management/reuse/default.nix @@ -2,14 +2,14 @@ python3Packages.buildPythonApplication rec { pname = "reuse"; - version = "1.1.2"; + version = "2.1.0"; format = "pyproject"; src = fetchFromGitHub { owner = "fsfe"; repo = "reuse-tool"; rev = "refs/tags/v${version}"; - hash = "sha256-J+zQrokrAX5tRU/2RPPSaFDyfsACPHHQYbK5sO99CMs="; + hash = "sha256-MEQiuBxe/ctHlAnmLhQY4QH62uAcHb7CGfZz+iZCRSk="; }; nativeBuildInputs = with python3Packages; [ @@ -22,12 +22,15 @@ python3Packages.buildPythonApplication rec { debian jinja2 license-expression - setuptools - setuptools-scm ]; nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; + disabledTestPaths = [ + # pytest wants to execute the actual source files for some reason, which fails with ImportPathMismatchError() + "src/reuse" + ]; + meta = with lib; { description = "A tool for compliance with the REUSE Initiative recommendations"; homepage = "https://github.com/fsfe/reuse-tool";