bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
67 lines
1.3 KiB
Nix
67 lines
1.3 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, curl
|
|
, fftw
|
|
, gmp
|
|
, gnuplot
|
|
, gtk3
|
|
, gtksourceview3
|
|
, json-glib
|
|
, lapack
|
|
, libxml2
|
|
, mpfr
|
|
, openblas
|
|
, readline
|
|
, Accelerate
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "gretl";
|
|
version = "2024b";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/gretl/gretl-${finalAttrs.version}.tar.xz";
|
|
hash = "sha256-mkmOmKO2tiAysZhwC8kNuCXNml8NdFPfaNFykdxYFAY=";
|
|
};
|
|
|
|
buildInputs = [
|
|
curl
|
|
fftw
|
|
gmp
|
|
gnuplot
|
|
gtk3
|
|
gtksourceview3
|
|
json-glib
|
|
lapack
|
|
libxml2
|
|
mpfr
|
|
openblas
|
|
readline
|
|
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
Accelerate
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
# Missing install depends:
|
|
# cp: cannot stat '...-gretl-2022c/share/gretl/data/plotbars': Not a directory
|
|
# make[1]: *** [Makefile:73: install_datafiles] Error 1
|
|
enableParallelInstalling = false;
|
|
|
|
meta = {
|
|
description = "Software package for econometric analysis";
|
|
homepage = "https://gretl.sourceforge.net";
|
|
license = lib.licenses.gpl3;
|
|
longDescription = ''
|
|
gretl is a cross-platform software package for econometric analysis,
|
|
written in the C programming language.
|
|
'';
|
|
maintainers = with lib.maintainers; [ dmrauh ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
})
|