8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
13 owner = "beltoforion";
16 hash = "sha256-hutmmhw7BHAwbDKBiK+3Yw833GL0rPGlVjlO7XzTii0=";
20 substituteInPlace muparser.pc.in \
21 --replace "\''${prefix}/@CMAKE_INSTALL_LIBDIR@" "@CMAKE_INSTALL_FULL_LIBDIR@" \
22 --replace "\''${prefix}/@CMAKE_INSTALL_INCLUDEDIR@" "@CMAKE_INSTALL_FULL_INCLUDEDIR@"
29 buildInputs = lib.optionals stdenv.cc.isClang [
34 description = "Extensible high performance math expression parser library written in C++";
35 homepage = "https://beltoforion.de/en/muparser/";
36 license = lib.licenses.mit;
37 maintainers = with lib.maintainers; [ wegank ];
38 platforms = lib.platforms.unix;