depot/third_party/nixpkgs/pkgs/development/python-modules/simanneal/default.nix
Default email 3b21d1e521 Project import generated by Copybara.
GitOrigin-RevId: 23cd13167a1432550e48734079c2ffeeb441fb96
2021-07-15 00:03:04 +02:00

23 lines
607 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=";
};
checkInputs = [ 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 ];
};
}