Skip to content

Commit

Permalink
gretl: init at 2020b
Browse files Browse the repository at this point in the history
  • Loading branch information
dmrauh authored and SuperSandro2000 committed Nov 28, 2020
1 parent a691394 commit 5f10cd5
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
43 changes: 43 additions & 0 deletions pkgs/applications/science/math/gretl/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{ stdenv, fetchurl, curl, fftw, gmp, gnuplot, gtk3, gtksourceview3, json-glib
, lapack, libxml2, mpfr, openblas, pkg-config, readline }:

stdenv.mkDerivation rec {
pname = "gretl";
version = "2020b";

src = fetchurl {
url = "mirror://sourceforge/gretl/${pname}-${version}.tar.xz";
sha256 = "0mpb8gc0mcfql8lzwknpkf1sg7mj9ikzd8r1x5xniabd9mmdhplm";
};

buildInputs = [
curl
fftw
gmp
gnuplot
gtk3
gtksourceview3
json-glib
lapack
libxml2
mpfr
openblas
readline
];

nativeBuildInputs = [ pkg-config ];

enableParallelBuilding = true;

meta = with stdenv.lib; {
description = "A software package for econometric analysis";
longDescription = ''
gretl is a cross-platform software package for econometric analysis,
written in the C programming language.
'';
homepage = "http://gretl.sourceforge.net";
license = licenses.gpl3;
maintainers = with maintainers; [ dmrauh ];
platforms = with platforms; all;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ in

digitalbitbox = libsForQt5.callPackage ../applications/misc/digitalbitbox { };

gretl = callPackage ../applications/science/math/gretl { };

grsync = callPackage ../applications/misc/grsync { };

dockerTools = callPackage ../build-support/docker { };
Expand Down

0 comments on commit 5f10cd5

Please sign in to comment.