Merge pull request #212655 from schuelermine/add/exprtk
exprtk: init at 2021-12-31
This commit is contained in:
commit
4fca325432
2 changed files with 30 additions and 0 deletions
28
pkgs/development/libraries/exprtk/default.nix
Normal file
28
pkgs/development/libraries/exprtk/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue