depot/third_party/nixpkgs/pkgs/development/python-modules/simanneal/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

23 lines
611 B
Nix

{ lib, fetchFromGitHub, buildPythonPackage, pytest }:
buildPythonPackage rec {
pname = "simanneal";
version = "0.5.0";
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 ];
};
}