depot/third_party/nixpkgs/pkgs/development/python-modules/simanneal/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
618 B
Nix

{ stdenv, fetchFromGitHub, buildPythonPackage, pytest }:
buildPythonPackage rec {
pname = "simanneal";
version = "0.4.2";
src = fetchFromGitHub {
owner = "perrygeo";
repo = "simanneal";
rev = version;
sha256 = "0p75da4nbk6iy16aahl0ilqg605jrr6aa1pzfyd9hc7ak2vs6840";
};
checkInputs = [ pytest ];
checkPhase = "pytest tests";
meta = with stdenv.lib; {
description = "A python implementation of the simulated annealing optimization technique";
homepage = "https://github.com/perrygeo/simanneal";
license = licenses.isc;
maintainers = with maintainers; [ veprbl ];
};
}