nixpkgs/pkgs/desktops/kde-4/edu/default.nix
Yury G. Kudryashov 7178906364 kde-4: typo in urls corrected
svn path=/nixpkgs/branches/stdenv-updates/; revision=10290
2008-01-25 12:56:25 +00:00

21 lines
560 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;
sha256 = "1wjy1rm7aiib1lv61wx7mcbkbpkk6phcz1q6dy51x0hfrc3rdkg4";
};
propagatedBuildInputs = [kdepimlibs boost readline openbabel ocaml libusb
facile python indilib libnova];
buildInputs = [cmake];
myCmakeFiles = ./myCmakeFiles;
patchPhase = "
cp ${myCmakeFiles}/* ../cmake/modules
sed -e 's@+facile@\${LIBFACILE_INCLUDE_DIR}@' -i \\
../kalzium/src/CMakeOCamlInstructions.cmake
";
}