Merge pull request #252643 from r-ryantm/auto-update/gretl

gretl: 2023a -> 2023b
This commit is contained in:
Pol Dellaiera 2023-09-02 23:45:31 +02:00 committed by GitHub
commit 539ceb8267
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 14 deletions

View File

@ -1,13 +1,29 @@
{ lib, stdenv, fetchurl, curl, fftw, gmp, gnuplot, gtk3, gtksourceview3, json-glib
, lapack, libxml2, mpfr, openblas, pkg-config, readline }:
{ lib
, stdenv
, fetchurl
, curl
, fftw
, gmp
, gnuplot
, gtk3
, gtksourceview3
, json-glib
, lapack
, libxml2
, mpfr
, openblas
, readline
, Accelerate
, pkg-config
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gretl";
version = "2023a";
version = "2023b";
src = fetchurl {
url = "mirror://sourceforge/gretl/${pname}-${version}.tar.xz";
sha256 = "sha256-T1UwQhw/Tr/juYqVJBkst2LRBCIXPLvVd0N+QCJcVtM=";
url = "mirror://sourceforge/gretl/gretl-${finalAttrs.version}.tar.xz";
hash = "sha256-Hf025JjFxde43TN/1m9PeA1uHqxKTZMI8+1qf3XJLGs=";
};
buildInputs = [
@ -23,9 +39,13 @@ stdenv.mkDerivation rec {
mpfr
openblas
readline
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
Accelerate
];
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
];
enableParallelBuilding = true;
# Missing install depends:
@ -33,15 +53,15 @@ stdenv.mkDerivation rec {
# make[1]: *** [Makefile:73: install_datafiles] Error 1
enableParallelInstalling = false;
meta = with lib; {
meta = {
description = "A 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.
'';
homepage = "https://gretl.sourceforge.net";
license = licenses.gpl3;
maintainers = with maintainers; [ dmrauh ];
platforms = with platforms; all;
maintainers = with lib.maintainers; [ dmrauh ];
platforms = lib.platforms.all;
};
}
})

View File

@ -845,7 +845,9 @@ with pkgs;
autoreconfHook = buildPackages.autoreconfHook269;
};
gretl = callPackage ../applications/science/math/gretl { };
gretl = callPackage ../applications/science/math/gretl {
inherit (darwin.apple_sdk.frameworks) Accelerate;
};
grsync = callPackage ../applications/misc/grsync { };