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