1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 pytest, 6}: 7 8buildPythonPackage rec { 9 version = "1.0.1"; 10 format = "setuptools"; 11 pname = "pluginbase"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "ff6c33a98fce232e9c73841d787a643de574937069f0d18147028d70d7dee287"; 16 }; 17 18 nativeCheckInputs = [ pytest ]; 19 20 checkPhase = '' 21 cd tests 22 PYTHONPATH=.. pytest 23 ''; 24 25 meta = with lib; { 26 homepage = "https://github.com/mitsuhiko/pluginbase"; 27 description = "Support library for building plugins sytems in Python"; 28 license = licenses.bsd3; 29 platforms = platforms.all; 30 }; 31}