Merge pull request #72624 from witkamp/master
muparser: add darwin support
This commit is contained in:
commit
f48ecbf850
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, unzip}:
|
||||
{stdenv, fetchurl, unzip, setfile}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "muparser";
|
||||
|
@ -10,12 +10,14 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "00l92k231yb49wijzkspa2l58mapn6vh2dlxnlg0pawjjfv33s6z";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
buildInputs = [
|
||||
unzip
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [setfile];
|
||||
|
||||
meta = {
|
||||
homepage = http://muparser.sourceforge.net;
|
||||
description = "An extensible high performance math expression parser library written in C++";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12989,7 +12989,9 @@ in
|
|||
|
||||
mumlib = callPackage ../development/libraries/mumlib { };
|
||||
|
||||
muparser = callPackage ../development/libraries/muparser { };
|
||||
muparser = callPackage ../development/libraries/muparser {
|
||||
inherit (darwin.stubs) setfile;
|
||||
};
|
||||
|
||||
mutest = callPackage ../development/libraries/mutest { };
|
||||
|
||||
|
|
Loading…
Reference in New Issue