From c9dfa3c72184fcad6a4c1c23d5c75c6d01b77a8c Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Sat, 24 Aug 2013 11:04:12 +0200 Subject: [PATCH] gnu: Add pspp. * gnu/packages/maths.scm (pspp): New variable. * THANKS: Thank John Darrington for help with debugging. --- THANKS | 1 + gnu/packages/maths.scm | 50 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/THANKS b/THANKS index 6c64c8795c..9dc330f998 100644 --- a/THANKS +++ b/THANKS @@ -11,6 +11,7 @@ infrastructure help: Daniel Clark Alexandru Cojocaru Aleix Conchillo FlaquƩ + John Darrington Rafael Ferreira Christian Grothoff Matthew Lien diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index d1effc57b4..7b900225b5 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -22,7 +22,15 @@ (define-module (gnu packages maths) #:renamer (symbol-prefix-proc 'license:)) #:use-module (guix packages) #:use-module (guix download) - #:use-module (guix build-system gnu)) + #:use-module (guix build-system gnu) + #:use-module (gnu packages algebra) + #:use-module (gnu packages compression) + #:use-module ((gnu packages gettext) + #:renamer (symbol-prefix-proc 'gnu:)) + #:use-module (gnu packages perl) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages readline) + #:use-module (gnu packages xml)) (define-public units (package @@ -58,3 +66,43 @@ (define-public units the standard data file.") (license license:gpl3+) (home-page "http://www.gnu.org/software/units/"))) + +(define-public pspp + (package + (name "pspp") + (version "0.8.0a") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://gnu/pspp/pspp-" + version ".tar.gz")) + (sha256 + (base32 + "1pgkb3z8b4wk4gymnafclhkrqq7n05wq83mra3v53jdl6bnllmyq")))) + (build-system gnu-build-system) + (inputs + `(("gettext" ,gnu:gettext) + ("gsl" ,gsl) + ("libxml2" ,libxml2) + ("readline" ,readline) + ("zlib" ,zlib))) + (native-inputs + `(("perl" ,perl) + ("pkg-config" ,pkg-config))) + (arguments + `(#:configure-flags + `("--without-cairo" ; FIXME: tests currently fail for lack of font + "--without-gui"))) ; FIXME: package missing dependencies + (home-page "http://www.gnu.org/software/pspp/") + (synopsis "Statistical analysis") + (description + "PSPP is a program for statistical analysis of sampled data. It is a +free replacement for the proprietary program SPSS, and appears very similar +to it. + +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.") + (license license:gpl3+)))