Loading pkgs/development/python-modules/chess/default.nix +10 −7 Original line number Diff line number Diff line Loading @@ -2,14 +2,15 @@ lib, buildPythonPackage, fetchFromGitHub, python, setuptools, pythonOlder, pytestCheckHook, }: buildPythonPackage rec { pname = "chess"; version = "1.10.0"; format = "setuptools"; version = "1.11.0"; pyproject = true; disabled = pythonOlder "3.7"; Loading @@ -17,14 +18,16 @@ buildPythonPackage rec { owner = "niklasf"; repo = "python-${pname}"; rev = "refs/tags/v${version}"; hash = "sha256-jfPg1W9Qp0DlAbMXaFqZ6Ri2zMOW6EKUHwi7Azn/yl0="; hash = "sha256-+YNEm1QppXeeIjOKfCSQoQmuSzBsW4ws0ej/whjTAPg="; }; build-system = [ setuptools ]; pythonImportsCheck = [ "chess" ]; checkPhase = '' ${python.interpreter} ./test.py -v ''; nativeCheckInputs = [ pytestCheckHook ]; pytestFlagsArray = [ "test.py" ]; meta = with lib; { description = "Chess library with move generation, move validation, and support for common formats"; Loading Loading
pkgs/development/python-modules/chess/default.nix +10 −7 Original line number Diff line number Diff line Loading @@ -2,14 +2,15 @@ lib, buildPythonPackage, fetchFromGitHub, python, setuptools, pythonOlder, pytestCheckHook, }: buildPythonPackage rec { pname = "chess"; version = "1.10.0"; format = "setuptools"; version = "1.11.0"; pyproject = true; disabled = pythonOlder "3.7"; Loading @@ -17,14 +18,16 @@ buildPythonPackage rec { owner = "niklasf"; repo = "python-${pname}"; rev = "refs/tags/v${version}"; hash = "sha256-jfPg1W9Qp0DlAbMXaFqZ6Ri2zMOW6EKUHwi7Azn/yl0="; hash = "sha256-+YNEm1QppXeeIjOKfCSQoQmuSzBsW4ws0ej/whjTAPg="; }; build-system = [ setuptools ]; pythonImportsCheck = [ "chess" ]; checkPhase = '' ${python.interpreter} ./test.py -v ''; nativeCheckInputs = [ pytestCheckHook ]; pytestFlagsArray = [ "test.py" ]; meta = with lib; { description = "Chess library with move generation, move validation, and support for common formats"; Loading