mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-06 23:31:34 +00:00
python3Packages.pymanopt: init at 0.2.5
This commit is contained in:
parent
2a0b098c13
commit
1d89758e85
pkgs
39
pkgs/development/python-modules/pymanopt/default.nix
Normal file
39
pkgs/development/python-modules/pymanopt/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, numpy
|
||||
, scipy
|
||||
, autograd
|
||||
, nose2
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymanopt";
|
||||
version = "0.2.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0zk775v281375sangc5qkwrkb8yc9wx1g8b1917s4s8wszzkp8k6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy scipy ];
|
||||
checkInputs = [ nose2 autograd pytestCheckHook ];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/test_problem.py"
|
||||
"tests/test_tensorflow.py"
|
||||
"tests/test_theano.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pymanopt" ];
|
||||
|
||||
meta = {
|
||||
description = "Python toolbox for optimization on Riemannian manifolds with support for automatic differentiation";
|
||||
homepage = "https://www.pymanopt.org/";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ yl3dy ];
|
||||
};
|
||||
}
|
|
@ -6273,6 +6273,8 @@ in {
|
|||
|
||||
pymaging_png = callPackage ../development/python-modules/pymaging_png { };
|
||||
|
||||
pymanopt = callPackage ../development/python-modules/pymanopt { };
|
||||
|
||||
pymata-express = callPackage ../development/python-modules/pymata-express { };
|
||||
|
||||
pymatgen = callPackage ../development/python-modules/pymatgen { };
|
||||
|
|
Loading…
Reference in a new issue