mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
pythonPackages.qscintilla: init at 2.9
This commit is contained in:
parent
3b59175c05
commit
3845b25623
2 changed files with 31 additions and 2 deletions
|
@ -23,8 +23,6 @@ stdenv.mkDerivation rec {
|
|||
qmake qscintilla.pro
|
||||
'';
|
||||
|
||||
# TODO PyQt Support.
|
||||
|
||||
meta = {
|
||||
description = "A Qt port of the Scintilla text editing library";
|
||||
longDescription = ''
|
||||
|
|
|
@ -11397,6 +11397,37 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
qscintilla = pkgs.stdenv.mkDerivation rec {
|
||||
# TODO: Qt5 support
|
||||
name = "qscintilla-${version}";
|
||||
version = pkgs.qscintilla.version;
|
||||
disabled = isPy3k || isPyPy;
|
||||
|
||||
src = pkgs.qscintilla.src;
|
||||
|
||||
buildInputs = with pkgs; [ xorg.lndir qt4 pyqt4 python ];
|
||||
|
||||
preConfigure = ''
|
||||
mkdir -p $out
|
||||
lndir ${pkgs.pyqt4} $out
|
||||
cd Python
|
||||
${python.executable} ./configure-old.py \
|
||||
--destdir $out/lib/${python.libPrefix}/site-packages/PyQt4 \
|
||||
--apidir $out/api/${python.libPrefix} \
|
||||
-n ${pkgs.qscintilla}/include \
|
||||
-o ${pkgs.qscintilla}/lib \
|
||||
--sipdir $out/share/sip
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Python binding to QScintilla, Qt based text editing control";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = [ "abcz2.uprola@gmail.com" ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
qserve = buildPythonPackage rec {
|
||||
name = "qserve-0.2.8";
|
||||
disabled = isPy3k;
|
||||
|
|
Loading…
Reference in a new issue