diff options
author | Karl Hallsby <karl@hallsby.com> | 2021-01-06 10:56:20 -0600 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2021-02-24 21:00:49 +0200 |
commit | 6ad87c34ddce64dab64fcd9e05e376be650a3483 (patch) | |
tree | 4da6be39ea2c96789cd84fd61e531f31ca83e15c /pkgs | |
parent | 4296286a50112be9bdd7029fef4740feb1e26fd2 (diff) |
octave.pkgs.financial: init at 0.5.3
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/octave-modules/financial/default.nix | 23 | ||||
-rw-r--r-- | pkgs/top-level/octave-packages.nix | 2 |
2 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/octave-modules/financial/default.nix b/pkgs/development/octave-modules/financial/default.nix new file mode 100644 index 0000000000000..5fb6a00df78b0 --- /dev/null +++ b/pkgs/development/octave-modules/financial/default.nix @@ -0,0 +1,23 @@ +{ buildOctavePackage +, lib +, fetchurl +, io +, statistics +}: + +buildOctavePackage rec { + pname = "financial"; + version = "0.5.3"; + + src = fetchurl { + url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; + sha256 = "0f963yg6pwvrdk5fg7b71ny47gzy48nqxdzj2ngcfrvmb5az4vmf"; + }; + + meta = with lib; { + homepage = "https://octave.sourceforge.io/financial/index.html"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ KarlJoad ]; + description = "Monte Carlo simulation, options pricing routines, financial manipulation, plotting functions and additional date manipulation tools"; + }; +} diff --git a/pkgs/top-level/octave-packages.nix b/pkgs/top-level/octave-packages.nix index 838448ccbe8b0..c1fef7aca05a1 100644 --- a/pkgs/top-level/octave-packages.nix +++ b/pkgs/top-level/octave-packages.nix @@ -89,6 +89,8 @@ makeScope newScope (self: ffc = null; }; + financial = callPackage ../development/octave-modules/financial { }; + general = callPackage ../development/octave-modules/general { nettle = pkgs.nettle; }; |