nixpkgs/pkgs/desktops/kde-4.7/pykde4.nix

24 lines
571 B
Nix
Raw Normal View History

{ kde, cmake, qt4, automoc4, kdelibs, phonon, python, sip, pyqt4
, soprano, kdepimlibs, shared_desktop_ontologies, boost }:
kde.package {
buildInputs =
[ cmake kdelibs qt4 automoc4 phonon python sip pyqt4 soprano
kdepimlibs shared_desktop_ontologies boost
];
NIX_CFLAGS_COMPILE = "-I${phonon}/include/phonon";
preConfigure =
''
substituteInPlace CMakeLists.txt \
--replace '{SIP_DEFAULT_SIP_DIR}' '{CMAKE_INSTALL_PREFIX}/share/sip'
'';
meta = {
description = "Python bindings for KDE";
kde.name = "pykde4";
};
}