blob: 9d82132c196b38f2267804430ca84ac9716ffc69 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{
lib,
fetchPypi,
buildPythonPackage,
setuptools-scm,
click,
commoncode,
pluggy,
pytestCheckHook,
pytest-xdist,
pythonOlder,
}:
buildPythonPackage rec {
pname = "plugincode";
version = "32.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-QTLZOxdVJxxuImydouIET/YuvLhztelY1mqN3enzRfo=";
};
dontConfigure = true;
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
click
commoncode
pluggy
];
nativeCheckInputs = [
pytestCheckHook
pytest-xdist
];
# wants to read /etc/os-release and crashes because that is not available in the sandbox
# pythonImportsCheck = [ "plugincode" ];
disabledTests = [
# We don't want black as an input
"test_skeleton_codestyle"
];
meta = with lib; {
description = "Library that provides plugin functionality for ScanCode toolkit";
homepage = "https://github.com/nexB/plugincode";
changelog = "https://github.com/nexB/plugincode/blob/v${version}/CHANGELOG.rst";
license = licenses.asl20;
maintainers = [ ];
};
}
|