python37Packages.picos: 1.2.0 -> 2.0

This commit is contained in:
Leo Colisson 2020-03-07 13:50:42 +00:00 committed by Jon
parent a8811cb82b
commit abe5f7070a

View File

@ -4,19 +4,25 @@
, numpy , numpy
, cvxopt , cvxopt
, python , python
, networkx
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "picos"; pname = "picos";
version = "1.2.0"; version = "2.0";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "picos-api"; owner = "picos-api";
repo = "picos"; repo = "picos";
rev = "v${version}"; rev = "v${version}";
sha256 = "018xhc7cb2crkk27lhl63c7h77w5wa37fg41i7nqr4xclr43cs9z"; sha256 = "1k65iq791k5r08gh2kc6iz0xw1wyzqik19j6iam8ip732r7jm607";
}; };
# Needed only for the tests
checkInputs = [
networkx
];
propagatedBuildInputs = [ propagatedBuildInputs = [
numpy numpy
cvxopt cvxopt
@ -28,9 +34,8 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "A Python interface to conic optimization solvers"; description = "A Python interface to conic optimization solvers";
homepage = https://gitlab.com/picos-api/picos; homepage = "https://gitlab.com/picos-api/picos";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ tobiasBora ]; maintainers = with maintainers; [ tobiasBora ];
}; };
} }