From 726a17cf88630d90c6769c428d6a6b4fedfe2d2a Mon Sep 17 00:00:00 2001 From: Karl Hallsby Date: Wed, 6 Jan 2021 10:52:41 -0600 Subject: [PATCH] octave.pkgs.econometrics: init at 1.1.2 --- .../octave-modules/econometrics/default.nix | 26 +++++++++++++++++++ pkgs/top-level/octave-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/octave-modules/econometrics/default.nix diff --git a/pkgs/development/octave-modules/econometrics/default.nix b/pkgs/development/octave-modules/econometrics/default.nix new file mode 100644 index 00000000000..0aa795959ab --- /dev/null +++ b/pkgs/development/octave-modules/econometrics/default.nix @@ -0,0 +1,26 @@ +{ buildOctavePackage +, lib +, fetchurl +, optim +}: + +buildOctavePackage rec { + pname = "econometrics"; + version = "1.1.2"; + + src = fetchurl { + url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; + sha256 = "1srx78k90ycla7yisa9h593n9l8br31lsdxlspra8sxiyq0sbk72"; + }; + + requiredOctavePackages = [ + optim + ]; + + meta = with lib; { + homepage = "https://octave.sourceforge.io/econometrics/index.html"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ KarlJoad ]; + description = "Econometrics functions including MLE and GMM based techniques"; + }; +} diff --git a/pkgs/top-level/octave-packages.nix b/pkgs/top-level/octave-packages.nix index b8ff9a87b02..c5a82516c06 100644 --- a/pkgs/top-level/octave-packages.nix +++ b/pkgs/top-level/octave-packages.nix @@ -81,6 +81,8 @@ makeScope newScope (self: doctest = callPackage ../development/octave-modules/doctest { }; + econometrics = callPackage ../development/octave-modules/econometrics { }; + general = callPackage ../development/octave-modules/general { nettle = pkgs.nettle; };