2010-12-26 16:26:01 +01:00
|
|
|
{ kde, cmake, qt4, perl, libxml2, libxslt, openbabel, boost, readline, gmm, gsl
|
2011-02-08 11:38:52 +01:00
|
|
|
, xplanet, libspectre, pkgconfig, libqalculate, python
|
2010-12-26 16:26:01 +01:00
|
|
|
, kdelibs, automoc4, eigen, attica}:
|
|
|
|
|
|
|
|
kde.package {
|
|
|
|
|
|
|
|
#TODO:
|
|
|
|
#* Boost.Python (1.31 or higher) <http://www.boost.org/> - fails to find
|
|
|
|
# * libcfitsio0 (3.09 or higher) <http://indi.sf.net>
|
|
|
|
# * libindi (0.6.1 or higher) <http://indi.sf.net>
|
|
|
|
# * R <http://www.r-project.org/>
|
|
|
|
# * OCaml <http://caml.inria.fr/>
|
|
|
|
# * LibFacile <http://www.recherche.enac.fr/log/facile/>
|
|
|
|
# * Avogadro (1.0 or higher) <http://avogadro.openmolecules.net>
|
|
|
|
# * libgps
|
|
|
|
|
|
|
|
buildInputs = [ cmake qt4 perl libxml2 libxslt openbabel boost readline gmm
|
|
|
|
gsl xplanet kdelibs automoc4 eigen attica libspectre pkgconfig
|
2011-02-08 11:38:52 +01:00
|
|
|
libqalculate python ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${python}/include/${python.libPrefix}"
|
|
|
|
export NIX_LDFLAGS="$NIX_LDFLAGS -l${python.libPrefix} -lboost_python"
|
|
|
|
'';
|
|
|
|
cmakeFlags = '' -DBOOST_PYTHON_INCLUDES="${boost}/include" -DBOOST_PYTHON_LIBS="boost_python" -DKIG_ENABLE_PYTHON_SCRIPTING=1'';
|
2010-12-26 16:26:01 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "KDE Educative software";
|
|
|
|
license = "GPL";
|
2011-02-13 05:36:41 +01:00
|
|
|
kde.module = "kdeedu";
|
2010-12-26 16:26:01 +01:00
|
|
|
};
|
|
|
|
}
|