10 buildPythonPackage rec {
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
19 repo = "python-${pname}";
21 hash = "sha256-OAYQ/XtM4AHfbpA+gVa/AjB3tyMtvgykpHc39WaU2CI=";
24 build-system = [ setuptools ];
26 pythonImportsCheck = [ "chess" ];
28 nativeCheckInputs = [ pytestCheckHook ];
30 pytestFlagsArray = [ "test.py" ];
33 description = "Chess library with move generation, move validation, and support for common formats";
34 homepage = "https://github.com/niklasf/python-chess";
35 changelog = "https://github.com/niklasf/python-chess/blob/v${version}/CHANGELOG.rst";
36 license = licenses.gpl3Plus;
37 maintainers = with maintainers; [ smancill ];