1{ 2 lib, 3 buildPythonPackage, 4 exceptiongroup, 5 fetchPypi, 6 poetry-core, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "generic"; 12 version = "1.1.5"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-Dvpiw6DRQczT5Tcj81II1cdZAIPbcWTIENLP/QQprpI="; 20 }; 21 22 build-system = [ poetry-core ]; 23 24 dependencies = [ exceptiongroup ]; 25 26 pythonImportsCheck = [ "generic" ]; 27 28 meta = with lib; { 29 description = "Generic programming (Multiple dispatch) library for Python"; 30 homepage = "https://github.com/gaphor/generic"; 31 changelog = "https://github.com/gaphor/generic/releases/tag/${version}"; 32 license = licenses.bsd3; 33 maintainers = [ ]; 34 }; 35}