2017-08-30 10:01:32 +02:00
|
|
|
{ stdenv, fetchurl, libxml2, readline, zlib, perl, cairo, gtk3, gsl
|
|
|
|
, pkgconfig, gtksourceview, pango, gettext
|
2018-05-15 22:26:59 +02:00
|
|
|
, makeWrapper, gsettings-desktop-schemas, hicolor-icon-theme
|
|
|
|
, gnome3
|
2013-09-26 11:41:07 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-08-30 10:01:32 +02:00
|
|
|
name = "pspp-1.0.1";
|
2013-09-26 11:41:07 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/pspp/${name}.tar.gz";
|
2017-08-30 10:01:32 +02:00
|
|
|
sha256 = "1r8smr5057993h90nx0mdnff8nxw9x546zzh6qpy4h3xblp1la5s";
|
2013-09-26 11:41:07 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libxml2 readline zlib perl cairo gtk3 gsl
|
2018-05-15 22:26:59 +02:00
|
|
|
gtksourceview pango gettext
|
|
|
|
makeWrapper gsettings-desktop-schemas hicolor-icon-theme ];
|
2013-09-26 11:41:07 +02:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-05-15 22:26:59 +02:00
|
|
|
preFixup = ''
|
|
|
|
wrapProgram "$out/bin/psppire" \
|
|
|
|
--prefix XDG_DATA_DIRS : "$out/share" \
|
|
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS" \
|
|
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
|
|
|
|
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules"
|
|
|
|
'';
|
|
|
|
|
2013-09-26 11:41:07 +02:00
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://www.gnu.org/software/pspp/;
|
2016-06-20 12:53:46 +02:00
|
|
|
description = "A free replacement for SPSS, a program for statistical analysis of sampled data";
|
2013-09-26 11:41:07 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
PSPP is a program for statistical analysis of sampled data. It is
|
|
|
|
a Free replacement for the proprietary program SPSS.
|
|
|
|
|
|
|
|
PSPP can perform descriptive statistics, T-tests, anova, linear
|
|
|
|
and logistic regression, cluster analysis, factor analysis,
|
|
|
|
non-parametric tests and more. Its backend is designed to perform
|
|
|
|
its analyses as fast as possible, regardless of the size of the
|
|
|
|
input data. You can use PSPP with its graphical interface or the
|
|
|
|
more traditional syntax commands.
|
|
|
|
'';
|
|
|
|
|
2018-05-01 07:45:05 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-09-26 11:41:07 +02:00
|
|
|
};
|
|
|
|
}
|