Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / simanneal / default.nix
blob2d29797b28f9ea6f911d0f5cc5c9c6ea0a7c941c
1 { lib, fetchFromGitHub, buildPythonPackage, pytest }:
3 buildPythonPackage rec {
4   pname = "simanneal";
5   version = "0.4.2";
7   src = fetchFromGitHub {
8     owner = "perrygeo";
9     repo = "simanneal";
10     rev = version;
11     sha256 = "0p75da4nbk6iy16aahl0ilqg605jrr6aa1pzfyd9hc7ak2vs6840";
12   };
14   checkInputs = [ pytest ];
15   checkPhase = "pytest tests";
17   meta = with lib; {
18     description = "A python implementation of the simulated annealing optimization technique";
19     homepage = "https://github.com/perrygeo/simanneal";
20     license = licenses.isc;
21     maintainers = with maintainers; [ veprbl ];
22   };