8 buildPythonPackage rec {
11 format = "setuptools";
13 disabled = pythonOlder "3.7";
15 src = fetchFromGitHub {
17 repo = "python-${pname}";
18 rev = "refs/tags/v${version}";
19 hash = "sha256-jfPg1W9Qp0DlAbMXaFqZ6Ri2zMOW6EKUHwi7Azn/yl0=";
22 pythonImportsCheck = [
27 ${python.interpreter} ./test.py -v
31 description = "A chess library with move generation, move validation, and support for common formats";
32 homepage = "https://github.com/niklasf/python-chess";
33 changelog = "https://github.com/niklasf/python-chess/blob/v${version}/CHANGELOG.rst";
34 license = licenses.gpl3Plus;
35 maintainers = with maintainers; [ smancill ];