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