python311Packages.qpsolvers: init at 3.4.0

This commit is contained in:
renesat 2023-07-20 19:08:54 +02:00
parent d80bf9ad96
commit 9a4c9773cf
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,48 @@
{ lib
, stdenv
, fetchFromGitHub
, buildPythonPackage
, unittestCheckHook
, daqp
, ecos
, numpy
, osqp
, scipy
, scs
, quadprog
}:
buildPythonPackage rec {
pname = "qpsolvers";
version = "3.4.0";
format = "flit";
src = fetchFromGitHub {
owner = "qpsolvers";
repo = "qpsolvers";
rev = "v${version}";
hash = "sha256-GrYAhTWABBvU6rGoHi00jBa7ryjCNgzO/hQBTdSW9cg=";
};
pythonImportsCheck = [ "qpsolvers" ];
propagatedBuildInputs = [
daqp
ecos
numpy
osqp
scipy
scs
];
nativeCheckInputs = [
quadprog
unittestCheckHook
];
meta = with lib; {
description = "Quadratic programming solvers in Python with a unified API";
homepage = "https://github.com/qpsolvers/qpsolvers";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ renesat ];
};
}

View file

@ -10627,6 +10627,8 @@ self: super: with self; {
qpageview = callPackage ../development/python-modules/qpageview { };
qpsolvers = callPackage ../development/python-modules/qpsolvers { };
qrcode = callPackage ../development/python-modules/qrcode { };
qreactor = callPackage ../development/python-modules/qreactor { };