2012-11-28 14:24:53 +04:00
|
|
|
{stdenv, fetchurl, unzip}:
|
2009-05-13 14:21:29 +04:00
|
|
|
|
2014-09-02 02:08:51 +04:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "muparser-${version}";
|
|
|
|
version = "2.2.3";
|
|
|
|
url-version = stdenv.lib.replaceChars ["."] ["_"] version;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/muparser/muparser_v${url-version}.zip";
|
|
|
|
sha256 = "00l92k231yb49wijzkspa2l58mapn6vh2dlxnlg0pawjjfv33s6z";
|
|
|
|
};
|
2010-09-15 16:57:49 +04:00
|
|
|
|
2012-11-28 14:24:53 +04:00
|
|
|
buildInputs = [ unzip ];
|
|
|
|
|
2010-09-15 16:57:49 +04:00
|
|
|
meta = {
|
|
|
|
homepage = http://muparser.sourceforge.net;
|
|
|
|
description = "An extensible high performance math expression parser library written in C++";
|
2014-06-19 08:19:00 +04:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2016-08-02 20:50:55 +03:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-09-15 16:57:49 +04:00
|
|
|
};
|
2009-05-13 14:21:29 +04:00
|
|
|
}
|