11 buildPythonPackage rec {
16 src = fetchFromGitHub {
19 rev = "5a15a3d16731d3d50f867218c1b281567db556fd";
20 hash = "sha256-in7Ci/wM7i0csJ4XVfo1lboWOyfuuU+8E+TzGmMV3x0=";
23 sourceRoot = "${src.name}/interfaces/daqp-python";
26 sed -i 's|../../../daqp|../..|' setup.py
27 sed -i 's|if src_path and os.path.exists(src_path):|if False:|' setup.py
30 nativeCheckInputs = [ unittestCheckHook ];
32 unittestFlagsArray = [
46 propagatedBuildInputs = [ numpy ];
48 pythonImportsCheck = [ "daqp" ];
51 description = "Dual active-set algorithm for convex quadratic programming";
52 homepage = "https://github.com/darnstrom/daqp";
53 license = licenses.mit;
54 maintainers = with maintainers; [ renesat ];