depot/third_party/nixpkgs/pkgs/development/python-modules/simanneal/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

29 lines
643 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 = "Python implementation of the simulated annealing optimization technique";
homepage = "https://github.com/perrygeo/simanneal";
license = licenses.isc;
maintainers = with maintainers; [ veprbl ];
};
}