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];
|
|
|
|
myCmakeFiles = ./myCmakeFiles;
|
|
|
|
patchPhase = "
|
|
|
|
cp ${myCmakeFiles}/* ../cmake/modules
|
|
|
|
sed -e 's@+facile@\${LIBFACILE_INCLUDE_DIR}@' -i \\
|
|
|
|
../kalzium/src/CMakeOCamlInstructions.cmake
|
|
|
|
";
|
|
|
|
configureFlags = "--debug-trycompile";
|
|
|
|
}
|