2019-11-01 23:52:40 +01:00
|
|
|
{stdenv, fetchurl, unzip, setfile}:
|
2009-05-13 12:21:29 +02:00
|
|
|
|
2014-09-02 00:08:51 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "muparser";
|
2014-09-02 00:08:51 +02:00
|
|
|
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 14:57:49 +02:00
|
|
|
|
2019-11-01 23:52:40 +01:00
|
|
|
buildInputs = [
|
|
|
|
unzip
|
|
|
|
] ++ stdenv.lib.optionals stdenv.isDarwin [setfile];
|
2012-11-28 11:24:53 +01:00
|
|
|
|
2010-09-15 14:57:49 +02:00
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://muparser.sourceforge.net";
|
2010-09-15 14:57:49 +02:00
|
|
|
description = "An extensible high performance math expression parser library written in C++";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2019-11-01 23:52:40 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
2010-09-15 14:57:49 +02:00
|
|
|
};
|
2009-05-13 12:21:29 +02:00
|
|
|
}
|