blob: ebface191aaf47a9b3c5cd2946a2d31aa209148d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{
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 = {
description = "Python implementation of the simulated annealing optimization technique";
homepage = "https://github.com/perrygeo/simanneal";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ veprbl ];
};
}
|