6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
11 owner = "oxfordcontrol";
14 hash = "sha256-enkK5EFyAeLaUnHNYS3oq43HsHY5IuSLgsYP0k/GW8c=";
15 fetchSubmodules = true;
18 # ref https://github.com/osqp/osqp/pull/481
19 # but this patch does not apply directly on v0.6.3
21 substituteInPlace CMakeLists.txt --replace-fail \
22 "$<INSTALL_PREFIX>/\''${CMAKE_INSTALL_INCLUDEDIR}" \
23 "\''${CMAKE_INSTALL_FULL_INCLUDEDIR}"
26 nativeBuildInputs = [ cmake ];
29 description = "Quadratic programming solver using operator splitting";
30 homepage = "https://osqp.org";
31 license = licenses.asl20;
32 maintainers = with maintainers; [ taktoa ];
33 platforms = platforms.all;