1{ lib
2, fetchPypi
3, buildPythonPackage
4, setuptools-scm
5, click
6, commoncode
7, pluggy
8, pytestCheckHook
9, pytest-xdist
10}:
11buildPythonPackage rec {
12 pname = "plugincode";
13 version = "21.1.21";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "97b5a2c96f0365c80240be103ecd86411c68b11a16f137913cbea9129c54907a";
18 };
19
20 dontConfigure = true;
21
22 nativeBuildInputs = [
23 setuptools-scm
24 ];
25
26 propagatedBuildInputs = [
27 click
28 commoncode
29 pluggy
30 ];
31
32 checkInputs = [
33 pytestCheckHook
34 pytest-xdist
35 ];
36
37 pythonImportsCheck = [
38 "plugincode"
39 ];
40
41 meta = with lib; {
42 description = "A library that provides plugin functionality for ScanCode toolkit";
43 homepage = "https://github.com/nexB/plugincode";
44 license = licenses.asl20;
45 maintainers = teams.determinatesystems.members;
46 };
47}