2007-11-15 01:08:58 +01:00
|
|
|
args: with args;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2008-01-13 18:11:19 +01:00
|
|
|
name = "kdeedu-4.0.0";
|
2008-11-14 15:15:46 +01:00
|
|
|
|
2007-11-15 01:08:58 +01:00
|
|
|
src = fetchurl {
|
2008-11-14 15:15:46 +01:00
|
|
|
url = mirror://kde/stable/4.0.0/src/kdeedu-4.0.0.tar.bz2;
|
2008-01-13 18:11:19 +01:00
|
|
|
md5 = "73924e158e4a2de2107be441c808251f";
|
2007-11-15 01:08:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [kdelibs kdepimlibs kdeworkspace boost readline openbabel ocaml
|
|
|
|
libusb facile python];
|
2008-12-03 12:06:43 +01:00
|
|
|
|
|
|
|
# !!! shouldn't include directories, since that can lead to inconsistent hashing
|
|
|
|
# between different machines/users due to .svn directories. Either use filterSource
|
|
|
|
# or include the files separately.
|
2007-11-15 01:08:58 +01:00
|
|
|
myCmakeFiles = ./myCmakeFiles;
|
2008-12-03 12:06:43 +01:00
|
|
|
|
2007-11-15 01:08:58 +01:00
|
|
|
patchPhase = "
|
|
|
|
cp ${myCmakeFiles}/* ../cmake/modules
|
|
|
|
sed -e 's@+facile@\${LIBFACILE_INCLUDE_DIR}@' -i \\
|
|
|
|
../kalzium/src/CMakeOCamlInstructions.cmake
|
|
|
|
";
|
|
|
|
configureFlags = "--debug-trycompile";
|
|
|
|
}
|