python311Packages.qpsolvers: init at 3.4.0
This commit is contained in:
parent
d80bf9ad96
commit
9a4c9773cf
2 changed files with 50 additions and 0 deletions
48
pkgs/development/python-modules/qpsolvers/default.nix
Normal file
48
pkgs/development/python-modules/qpsolvers/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue