6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
11 owner = "beltoforion";
14 sha256 = "sha256-rekPXmncNdVX6LvPQP1M2Pzs3pyiCCcLPLnPFiyWJ4s=";
17 nativeBuildInputs = [ cmake ];
21 echo "***Muparserx self-test***"
22 echo "quit" | ./example > test_result.log
24 if grep -Fqi "failed" test_result.log; then
25 echo ">=1 muparserx tests failed"
28 echo -e "\nmuparserx tests succeeded"
33 description = "A C++ Library for Parsing Expressions with Strings, Complex Numbers, Vectors, Matrices and more";
34 homepage = "https://beltoforion.de/en/muparserx/";
35 license = licenses.bsd2;
36 maintainers = with maintainers; [ drewrisinger ];