Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
855 B · 37 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchFromGitHub, python, pythonOlder}:
buildPythonPackage rec { pname = "chess"; version = "1.9.4"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "niklasf"; repo = "python-${pname}"; rev = "refs/tags/v${version}"; hash = "sha256-YBABB//53gwJIwrmKJh8W+05hTBhl+49vCYv9//4E+0="; };
pythonImportsCheck = [ "chess" ];
checkPhase = '' ${python.interpreter} ./test.py -v '';
meta = with lib; { description = "A chess library with move generation, move validation, and support for common formats"; homepage = "https://github.com/niklasf/python-chess"; changelog = "https://github.com/niklasf/python-chess/blob/v${version}/CHANGELOG.rst"; license = licenses.gpl3Plus; maintainers = with maintainers; [ smancill ]; };}