1 {lib, stdenv, fetchurl, unzip, setfile}:
3 stdenv.mkDerivation rec {
6 url-version = lib.replaceChars ["."] ["_"] version;
9 url = "mirror://sourceforge/muparser/muparser_v${url-version}.zip";
10 sha256 = "00l92k231yb49wijzkspa2l58mapn6vh2dlxnlg0pawjjfv33s6z";
13 nativeBuildInputs = [ unzip ];
14 buildInputs = lib.optionals stdenv.isDarwin [setfile];
17 homepage = "http://muparser.sourceforge.net";
18 description = "An extensible high performance math expression parser library written in C++";
19 license = lib.licenses.mit;
20 platforms = lib.platforms.linux ++ lib.platforms.darwin;