blob: a0bb44548a1168f2dd2d4ce61b9167255594c272 (
plain)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
cython,
setuptools,
numpy,
pytestCheckHook,
scipy,
}:
buildPythonPackage rec {
pname = "quadprog";
version = "0.1.13";
pyproject = true;
src = fetchFromGitHub {
owner = "quadprog";
repo = "quadprog";
rev = "v${version}";
hash = "sha256-8gPuqDY3ajw/+B6kJdtpq+HL+Oq2Nsy/O7m+IWzxP38=";
};
nativeBuildInputs = [
cython
setuptools
];
propagatedBuildInputs = [ numpy ];
nativeCheckInputs = [
pytestCheckHook
scipy
];
meta = {
homepage = "https://github.com/quadprog/quadprog";
changelog = "https://github.com/quadprog/quadprog/releases/tag/v${version}";
description = "Quadratic Programming Solver";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ wegank ];
};
}
|