14 buildPythonPackage rec {
19 src = fetchFromGitHub {
22 rev = "refs/tags/v${version}";
23 hash = "sha256-ZYmQtJ503HDmu+Cd6IxOrCcOVH+CcFnFe3oe6PqvcE0=";
26 build-system = [ poetry-core ];
36 nativeCheckInputs = [ pytestCheckHook ];
39 # pytest wants to execute the actual source files for some reason, which fails with ImportPathMismatchError()
43 pythonImportsCheck = [ "reuse" ];
46 description = "A tool for compliance with the REUSE Initiative recommendations";
47 homepage = "https://github.com/fsfe/reuse-tool";
48 changelog = "https://github.com/fsfe/reuse-tool/blob/v${version}/CHANGELOG.md";
49 license = with licenses; [
55 maintainers = with maintainers; [
59 mainProgram = "reuse";