mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 02:03:21 +00:00
python311Packages.quadprog: 0.1.11 -> 0.1.12
This commit is contained in:
parent
f893cc7daa
commit
0eb55a5f2b
@ -3,6 +3,7 @@
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, cython
|
||||
, setuptools
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
, scipy
|
||||
@ -10,40 +11,32 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "quadprog";
|
||||
version = "0.1.11";
|
||||
format = "setuptools";
|
||||
version = "0.1.12";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
owner = "quadprog";
|
||||
repo = "quadprog";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-/suv1KbG3HbiYqEiuCtB/ia3xbxAO5AMuWx1Svy0rMw=";
|
||||
hash = "sha256-3S846PaNfZ4j3r6Vi2o6+Jk+2kC/P7tMSQQiB/Kx8nI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
cython quadprog/quadprog.pyx
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
scipy
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
# test fails on aarch64-darwin
|
||||
"--deselect=tests/test_1.py::test_5"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/quadprog/quadprog";
|
||||
changelog = "https://github.com/quadprog/quadprog/releases/tag/v${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user