2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonPackage, pytest }:
|
2017-09-23 03:19:20 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "simanneal";
|
2018-11-01 01:46:04 +00:00
|
|
|
version = "0.4.2";
|
2017-09-23 03:19:20 +01:00
|
|
|
|
2017-09-24 15:57:49 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "perrygeo";
|
|
|
|
repo = "simanneal";
|
|
|
|
rev = version;
|
2018-11-01 01:46:04 +00:00
|
|
|
sha256 = "0p75da4nbk6iy16aahl0ilqg605jrr6aa1pzfyd9hc7ak2vs6840";
|
2017-09-23 03:19:20 +01:00
|
|
|
};
|
|
|
|
|
2017-09-24 15:57:49 +01:00
|
|
|
checkInputs = [ pytest ];
|
|
|
|
checkPhase = "pytest tests";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-09-23 03:19:20 +01:00
|
|
|
description = "A python implementation of the simulated annealing optimization technique";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/perrygeo/simanneal";
|
2017-09-24 15:57:49 +01:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ veprbl ];
|
2017-09-23 03:19:20 +01:00
|
|
|
};
|
|
|
|
}
|