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