1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 pytest, 6}: 7 8buildPythonPackage rec { 9 pname = "simanneal"; 10 version = "0.5.0"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "perrygeo"; 15 repo = "simanneal"; 16 rev = version; 17 hash = "sha256-yKZHkrf6fM0WsHczIEK5Kxusz5dSBgydK3fLu1nDyvk="; 18 }; 19 20 nativeCheckInputs = [ pytest ]; 21 checkPhase = "pytest tests"; 22 23 meta = with lib; { 24 description = "Python implementation of the simulated annealing optimization technique"; 25 homepage = "https://github.com/perrygeo/simanneal"; 26 license = licenses.isc; 27 maintainers = with maintainers; [ veprbl ]; 28 }; 29}