gretl: reformat files using nixpkgs-fmt

This commit is contained in:
Pol Dellaiera 2023-09-02 21:56:06 +02:00
parent 3aa19ca341
commit b8dcdcc45a
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA

View file

@ -1,5 +1,20 @@
{ lib, stdenv, fetchurl, curl, fftw, gmp, gnuplot, gtk3, gtksourceview3, json-glib { lib
, lapack, libxml2, mpfr, openblas, pkg-config, readline }: , stdenv
, fetchurl
, curl
, fftw
, gmp
, gnuplot
, gtk3
, gtksourceview3
, json-glib
, lapack
, libxml2
, mpfr
, openblas
, readline
, pkg-config
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gretl"; pname = "gretl";
@ -7,7 +22,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/gretl/${pname}-${version}.tar.xz"; url = "mirror://sourceforge/gretl/${pname}-${version}.tar.xz";
sha256 = "sha256-Hf025JjFxde43TN/1m9PeA1uHqxKTZMI8+1qf3XJLGs="; hash = "sha256-Hf025JjFxde43TN/1m9PeA1uHqxKTZMI8+1qf3XJLGs=";
}; };
buildInputs = [ buildInputs = [
@ -25,7 +40,9 @@ stdenv.mkDerivation rec {
readline readline
]; ];
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [
pkg-config
];
enableParallelBuilding = true; enableParallelBuilding = true;
# Missing install depends: # Missing install depends:
@ -33,15 +50,15 @@ stdenv.mkDerivation rec {
# make[1]: *** [Makefile:73: install_datafiles] Error 1 # make[1]: *** [Makefile:73: install_datafiles] Error 1
enableParallelInstalling = false; enableParallelInstalling = false;
meta = with lib; { meta = {
description = "A software package for econometric analysis"; description = "A software package for econometric analysis";
homepage = "https://gretl.sourceforge.net";
license = lib.licenses.gpl3;
longDescription = '' longDescription = ''
gretl is a cross-platform software package for econometric analysis, gretl is a cross-platform software package for econometric analysis,
written in the C programming language. written in the C programming language.
''; '';
homepage = "https://gretl.sourceforge.net"; maintainers = with lib.maintainers; [ dmrauh ];
license = licenses.gpl3; platforms = lib.platforms.all;
maintainers = with maintainers; [ dmrauh ];
platforms = with platforms; all;
}; };
} }