diff --git a/pkgs/applications/science/math/pssp/default.nix b/pkgs/applications/science/math/pssp/default.nix new file mode 100644 index 000000000000..587f41fe998b --- /dev/null +++ b/pkgs/applications/science/math/pssp/default.nix @@ -0,0 +1,40 @@ +{ stdenv, fetchurl, libxml2, readline, zlib, perl, cairo, gtk, gsl +, pkgconfig, gtksourceview, pango, gettext, libglade +}: + +stdenv.mkDerivation rec { + name = "pspp-0.8.1"; + + src = fetchurl { + url = "mirror://gnu/pspp/${name}.tar.gz"; + sha256 = "0qhxsdbwxd3cn1shc13wxvx2lg32lp4z6sz24kv3jz7p5xfi8j7x"; + }; + + buildInputs = [ libxml2 readline zlib perl cairo gtk gsl pkgconfig + gtksourceview pango gettext libglade ]; + + doCheck = false; + + enableParallelBuilding = true; + + meta = { + homepage = "http://www.gnu.org/software/pspp/"; + description = "a free replacement for SPSS, a program for statistical analysis of sampled data"; + 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. + ''; + + platforms = stdenv.lib.platforms.linux; + maintainers = [ stdenv.lib.maintainers.simons ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2ee36699f707..8bf9da517b23 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9691,6 +9691,10 @@ let pari = callPackage ../applications/science/math/pari {}; + pspp = callPackage ../applications/science/math/pssp { + inherit (gnome) libglade gtksourceview; + }; + R = callPackage ../applications/science/math/R { inherit (xlibs) libX11 libXt; texLive = texLiveAggregationFun { paths = [ texLive texLiveExtra ]; };