12 stdenv.mkDerivation (finalAttrs: {
16 src = fetchFromGitHub {
19 rev = "v${finalAttrs.version}";
20 hash = "sha256-mN9oU+qXm+Kob8M4rtxv4qNSbXlFCqpN+s8dHedU8Mo=";
24 (lib.cmakeBool "BUILD_TESTING" true)
25 (lib.cmakeBool "OSQPEIGEN_RUN_Valgrind_tests" stdenv.hostPlatform.isLinux)
28 nativeBuildInputs = [ cmake ];
29 propagatedBuildInputs = [
33 checkInputs = [ catch2 ];
34 nativeCheckInputs = lib.optional stdenv.hostPlatform.isLinux valgrind;
39 description = "Simple Eigen-C++ wrapper for OSQP library";
40 homepage = "https://github.com/robotology/osqp-eigen";
41 license = lib.licenses.bsd3;
42 maintainers = with lib.maintainers; [ nim65s ];