nixpkgs/pkgs/development/python-modules/simanneal/default.nix

24 lines
607 B
Nix
Raw Permalink Normal View History

{ lib, fetchFromGitHub, buildPythonPackage, pytest }:
buildPythonPackage rec {
pname = "simanneal";
version = "0.5.0";
2017-09-24 14:57:49 +00:00
src = fetchFromGitHub {
owner = "perrygeo";
repo = "simanneal";
rev = version;
sha256 = "sha256-yKZHkrf6fM0WsHczIEK5Kxusz5dSBgydK3fLu1nDyvk=";
};
2017-09-24 14:57:49 +00:00
checkInputs = [ pytest ];
checkPhase = "pytest tests";
meta = with lib; {
description = "A python implementation of the simulated annealing optimization technique";
homepage = "https://github.com/perrygeo/simanneal";
2017-09-24 14:57:49 +00:00
license = licenses.isc;
maintainers = with maintainers; [ veprbl ];
};
}