a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
23 lines
613 B
Nix
23 lines
613 B
Nix
{ lib, fetchFromGitHub, buildPythonPackage, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "simanneal";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "perrygeo";
|
|
repo = "simanneal";
|
|
rev = version;
|
|
sha256 = "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 ];
|
|
};
|
|
}
|