diff options
Diffstat (limited to 'pkgs/desktops/kde-4-old/edu/default.nix')
-rw-r--r-- | pkgs/desktops/kde-4-old/edu/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/desktops/kde-4-old/edu/default.nix b/pkgs/desktops/kde-4-old/edu/default.nix new file mode 100644 index 0000000000000..4ee00d7652796 --- /dev/null +++ b/pkgs/desktops/kde-4-old/edu/default.nix @@ -0,0 +1,25 @@ +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"; +} |