nixpkgs/pkgs/desktops/kde-4/edu/default.nix
Yury G. Kudryashov 6e8ff2b24b Merged with trunk again
svn path=/nixpkgs/branches/stdenv-updates/; revision=10155
2008-01-15 14:32:10 +00:00

20 lines
515 B
Nix

args: with args;
stdenv.mkDerivation rec {
name = "kdeedu-4.0.0";
src = fetchurl {
url = mirror://kde/stable/4.0/src/kdeedu-4.0.0.tar.bz2;
sha256 = "1wjy1rm7aiib1lv61wx7mcbkbpkk6phcz1q6dy51x0hfrc3rdkg4";
};
buildInputs = [kdelibs kdepimlibs 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
";
}