home-assistant: support lightify component (#379007)
[NixPkgs.git] / pkgs / development / python-modules / simanneal / default.nix
blob2bd0bd80be065943db55decf813359ac3a9b7a03
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   pytest,
6 }:
8 buildPythonPackage rec {
9   pname = "simanneal";
10   version = "0.5.0";
11   format = "setuptools";
13   src = fetchFromGitHub {
14     owner = "perrygeo";
15     repo = "simanneal";
16     rev = version;
17     hash = "sha256-yKZHkrf6fM0WsHczIEK5Kxusz5dSBgydK3fLu1nDyvk=";
18   };
20   nativeCheckInputs = [ pytest ];
21   checkPhase = "pytest tests";
23   meta = with lib; {
24     description = "Python implementation of the simulated annealing optimization technique";
25     homepage = "https://github.com/perrygeo/simanneal";
26     license = licenses.isc;
27     maintainers = with maintainers; [ veprbl ];
28   };