11 pythonSupport ? false,
18 stdenv.mkDerivation (finalAttrs: {
22 src = fetchFromGitHub {
25 rev = "v${finalAttrs.version}";
26 hash = "sha256-ycO7s13LT/Gi01XFjTeZQCN+TiAVlp2zXjrlI7vfgTk=";
30 substituteInPlace bindings/python/cmake/python_install.cmake.in \
31 --replace-fail "--no-deps" "--no-deps --no-cache-dir --no-build-isolation --prefix $out"
48 ++ lib.optionals pythonSupport [
49 python3Packages.cython
52 python3Packages.pytest
53 python3Packages.setuptools
60 (lib.cmakeBool "SLEQP_ENABLE_PYTHON" pythonSupport)
65 description = "An active set-based NLP solver";
66 homepage = "https://github.com/chrhansk/sleqp";
67 changelog = "https://github.com/chrhansk/sleqp/blob/${finalAttrs.src.rev}/CHANGELOG.md";
68 license = lib.licenses.lgpl3Only;
69 maintainers = with lib.maintainers; [ nim65s ];