Unverified Commit 539ceb82 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

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

gretl: 2023a -> 2023b
parents 3cecf9ab ed6e6758
Loading
Loading
Loading
Loading
+33 −13
Original line number Diff line number Diff line
{ 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;
  };
}
})
+3 −1
Original line number Diff line number Diff line
@@ -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 { };