blob: c566887bb363427ca4107310f84b5f80eaee9810 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, cython
, setuptools
, numpy
, pytestCheckHook
, scipy
}:
buildPythonPackage rec {
pname = "quadprog";
version = "0.1.12";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "quadprog";
repo = "quadprog";
rev = "v${version}";
hash = "sha256-3S846PaNfZ4j3r6Vi2o6+Jk+2kC/P7tMSQQiB/Kx8nI=";
};
nativeBuildInputs = [
cython
setuptools
];
propagatedBuildInputs = [
numpy
];
nativeCheckInputs = [
pytestCheckHook
scipy
];
meta = with lib; {
homepage = "https://github.com/quadprog/quadprog";
changelog = "https://github.com/quadprog/quadprog/releases/tag/v${version}";
description = "Quadratic Programming Solver";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ wegank ];
};
}
|