mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #252643 from r-ryantm/auto-update/gretl
gretl: 2023a -> 2023b
This commit is contained in:
commit
539ceb8267
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user