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