mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
reuse: 1.1.2 -> 2.0.0
https://github.com/fsfe/reuse-tool/releases/tag/v2.0.0
This commit is contained in:
parent
eddd37faae
commit
9cd0172e6e
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user