pythonPackages.picos: init at 1.2.0

This commit is contained in:
Léo Colisson 2019-07-09 16:51:43 +02:00 committed by worldofpeace
parent 60a897d4c7
commit 522f0c9cb5
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitLab
, numpy
, cvxopt
, python
}:
buildPythonPackage rec {
pname = "picos";
version = "1.2.0";
src = fetchFromGitLab {
owner = "picos-api";
repo = "picos";
rev = "v${version}";
sha256 = "018xhc7cb2crkk27lhl63c7h77w5wa37fg41i7nqr4xclr43cs9z";
};
propagatedBuildInputs = [
numpy
cvxopt
];
checkPhase = ''
${python.interpreter} test.py
'';
meta = with lib; {
description = "A Python interface to conic optimization solvers";
homepage = https://gitlab.com/picos-api/picos;
license = licenses.gpl3;
maintainers = with maintainers; [ tobiasBora ];
};
}

View File

@ -4201,6 +4201,8 @@ in {
pickleshare = callPackage ../development/python-modules/pickleshare { };
picos = callPackage ../development/python-modules/picos { };
piep = callPackage ../development/python-modules/piep { };
piexif = callPackage ../development/python-modules/piexif { };