fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
29 lines
645 B
Nix
29 lines
645 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
pytest,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "simanneal";
|
|
version = "0.5.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "perrygeo";
|
|
repo = "simanneal";
|
|
rev = version;
|
|
hash = "sha256-yKZHkrf6fM0WsHczIEK5Kxusz5dSBgydK3fLu1nDyvk=";
|
|
};
|
|
|
|
nativeCheckInputs = [ pytest ];
|
|
checkPhase = "pytest tests";
|
|
|
|
meta = with lib; {
|
|
description = "A python implementation of the simulated annealing optimization technique";
|
|
homepage = "https://github.com/perrygeo/simanneal";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ veprbl ];
|
|
};
|
|
}
|