1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/simanneal/default.nix

24 lines
616 B
Nix
Raw Normal View History

2017-09-24 15:57:49 +01:00
{ stdenv, fetchFromGitHub, buildPythonPackage, pytest }:
buildPythonPackage rec {
pname = "simanneal";
version = "0.4.2";
2017-09-24 15:57:49 +01:00
src = fetchFromGitHub {
owner = "perrygeo";
repo = "simanneal";
rev = version;
sha256 = "0p75da4nbk6iy16aahl0ilqg605jrr6aa1pzfyd9hc7ak2vs6840";
};
2017-09-24 15:57:49 +01:00
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;
2017-09-24 15:57:49 +01:00
license = licenses.isc;
maintainers = with maintainers; [ veprbl ];
};
}