nixpkgs/pkgs/desktops/kde-4-old/edu/default.nix
Eelco Dolstra 9fee9c7be4 * Some renaming: kde -> kde-3, kde-4 -> kde-4-old (we can delete it
eventually, but it seems to contain some packages that aren't in
  kde-4.2 yet).

svn path=/nixpkgs/trunk/; revision=14481
2009-03-10 07:58:12 +00:00

26 lines
755 B
Nix

args: with args;
stdenv.mkDerivation rec {
name = "kdeedu-4.0.0";
src = fetchurl {
url = mirror://kde/stable/4.0.0/src/kdeedu-4.0.0.tar.bz2;
md5 = "73924e158e4a2de2107be441c808251f";
};
buildInputs = [kdelibs kdepimlibs kdeworkspace boost readline openbabel ocaml
libusb facile python];
# !!! 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.
myCmakeFiles = ./myCmakeFiles;
patchPhase = "
cp ${myCmakeFiles}/* ../cmake/modules
sed -e 's@+facile@\${LIBFACILE_INCLUDE_DIR}@' -i \\
../kalzium/src/CMakeOCamlInstructions.cmake
";
configureFlags = "--debug-trycompile";
}