1{ stdenv, fetchFromGitHub, buildPythonPackage, pytest }:
2
3buildPythonPackage rec {
4 pname = "simanneal";
5 version = "0.4.1";
6
7 src = fetchFromGitHub {
8 owner = "perrygeo";
9 repo = "simanneal";
10 rev = version;
11 sha256 = "12499wvf7ii7cy8z2f1d472p7q9napg1lj0h9xx8l1mbr1hjlp3q";
12 };
13
14 checkInputs = [ pytest ];
15 checkPhase = "pytest tests";
16
17 meta = with stdenv.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}