From 9cd0172e6e14181692c56844f11a32c4162d01aa Mon Sep 17 00:00:00 2001 From: Luflosi Date: Tue, 18 Jul 2023 14:00:19 +0200 Subject: [PATCH] reuse: 1.1.2 -> 2.0.0 https://github.com/fsfe/reuse-tool/releases/tag/v2.0.0 --- pkgs/tools/package-management/reuse/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/package-management/reuse/default.nix b/pkgs/tools/package-management/reuse/default.nix index 11d08c0dfd5a..fb1f1a1b7a61 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.0.0"; format = "pyproject"; src = fetchFromGitHub { owner = "fsfe"; repo = "reuse-tool"; rev = "refs/tags/v${version}"; - hash = "sha256-J+zQrokrAX5tRU/2RPPSaFDyfsACPHHQYbK5sO99CMs="; + hash = "sha256-OL1PPEvb4sWapwMOfLLDxzIxH1QTxqL27oriMpU7yTg="; }; 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";