Merge pull request #29691 from veprbl/simanneal
pythonPackages.simanneal: init at 0.4.1
This commit is contained in:
commit
83440984e3
24
pkgs/development/python-modules/simanneal/default.nix
Normal file
24
pkgs/development/python-modules/simanneal/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, buildPythonPackage, pytest }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "simanneal";
|
||||||
|
version = "0.4.1";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "perrygeo";
|
||||||
|
repo = "simanneal";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "12499wvf7ii7cy8z2f1d472p7q9napg1lj0h9xx8l1mbr1hjlp3q";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -19535,6 +19535,8 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
simanneal = callPackage ../development/python-modules/simanneal { };
|
||||||
|
|
||||||
simplebayes = buildPythonPackage rec {
|
simplebayes = buildPythonPackage rec {
|
||||||
name = "simplebayes-${version}";
|
name = "simplebayes-${version}";
|
||||||
version = "1.5.8";
|
version = "1.5.8";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user