mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 10:34:54 +00:00
reuse: 3.0.2 -> 4.0.2
This commit is contained in:
parent
4166ce0a51
commit
f117584381
@ -3,37 +3,46 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
|
||||
# dependencies
|
||||
attrs,
|
||||
binaryornot,
|
||||
boolean-py,
|
||||
debian,
|
||||
jinja2,
|
||||
license-expression,
|
||||
tomlkit,
|
||||
|
||||
# test dependencies
|
||||
freezegun,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "reuse";
|
||||
version = "3.0.2";
|
||||
version = "4.0.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fsfe";
|
||||
repo = "reuse-tool";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ZYmQtJ503HDmu+Cd6IxOrCcOVH+CcFnFe3oe6PqvcE0=";
|
||||
hash = "sha256-ajvQbDHQDzmEAmODVEXKH+Nsbud6V3RX1DRQ6SDEtm8=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
attrs
|
||||
binaryornot
|
||||
boolean-py
|
||||
debian
|
||||
jinja2
|
||||
license-expression
|
||||
tomlkit
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
nativeCheckInputs = [ pytestCheckHook freezegun ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# pytest wants to execute the actual source files for some reason, which fails with ImportPathMismatchError()
|
||||
|
Loading…
Reference in New Issue
Block a user