Merge pull request #212655 from schuelermine/add/exprtk

exprtk: init at 2021-12-31
This commit is contained in:
Nick Cao 2023-01-26 19:14:19 +08:00 committed by GitHub
commit 4fca325432
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "exprtk";
version = "unstable-2021-12-31";
src = fetchFromGitHub {
owner = "ArashPartow";
repo = "exprtk";
rev = "806c519c91fd08ba4fa19380dbf3f6e42de9e2d1";
hash = "sha256-5/k+y3gNJeggfwXmtAVqmaiV+BXX+WKtWwZWcQSrQDM=";
};
dontBuild = true;
installPhase = ''
runHook preInstall
install -Dm644 exprtk.hpp "$out/include/exprtk.hpp"
runHook postInstall
'';
meta = with lib; {
description = "The C++ Mathematical Expression Toolkit Library";
homepage = "https://www.partow.net/programming/exprtk/index.html";
license = licenses.mit;
maintainers = with maintainers; [ anselmschueler ];
};
}

View file

@ -19368,6 +19368,8 @@ with pkgs;
expat = callPackage ../development/libraries/expat { };
exprtk = callPackage ../development/libraries/exprtk { };
eventlog = callPackage ../development/libraries/eventlog { };
faac = callPackage ../development/libraries/faac { };