pythonPackages.cma: init at 2.7.0
This commit is contained in:
parent
310afc9e93
commit
4e0ebea84a
33
pkgs/development/python-modules/cma/default.nix
Normal file
33
pkgs/development/python-modules/cma/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cma";
|
||||
version = "2.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CMA-ES";
|
||||
repo = "pycma";
|
||||
rev = "r${version}";
|
||||
sha256 = "0c26969pcqj047axksfffd9pj77n16k4r9h6pyid9q3ah5zk0xg3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
${python.executable} -m cma.test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "CMA-ES, Covariance Matrix Adaptation Evolution Strategy for non-linear numerical optimization in Python";
|
||||
homepage = https://github.com/CMA-ES/pycma;
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
|
@ -4355,6 +4355,8 @@ in {
|
|||
|
||||
cachetools = callPackage ../development/python-modules/cachetools {};
|
||||
|
||||
cma = callPackage ../development/python-modules/cma { };
|
||||
|
||||
cmd2 = callPackage ../development/python-modules/cmd2 {};
|
||||
|
||||
warlock = callPackage ../development/python-modules/warlock { };
|
||||
|
|
Loading…
Reference in a new issue