Merge pull request #244203 from Luflosi/update/reuse

reuse: 1.1.2 -> 2.1.0
This commit is contained in:
Sandro 2023-07-23 17:51:34 +02:00 committed by GitHub
commit 994151c78d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";