diff options
author | RĂ¼diger Sonderfeld <ruediger@c-plusplus.de> | 2014-08-21 00:41:41 +0200 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2014-09-03 12:12:00 +0400 |
commit | 698170005fe85b993e2acb6f1af46d04153109d5 (patch) | |
tree | 2c4b7ce3c35f1519fc45c47bc6d5e0c73cad02b9 /pkgs/development/libraries/qscintilla | |
parent | 1d0c2faf6b42f98d143c5758dfbe6c74b0a01ec5 (diff) | |
download | nixpkgs-698170005fe85b993e2acb6f1af46d04153109d5.tar nixpkgs-698170005fe85b993e2acb6f1af46d04153109d5.tar.gz nixpkgs-698170005fe85b993e2acb6f1af46d04153109d5.tar.bz2 nixpkgs-698170005fe85b993e2acb6f1af46d04153109d5.tar.lz nixpkgs-698170005fe85b993e2acb6f1af46d04153109d5.tar.xz nixpkgs-698170005fe85b993e2acb6f1af46d04153109d5.tar.zst nixpkgs-698170005fe85b993e2acb6f1af46d04153109d5.zip |
Add QScintilla.
Diffstat (limited to 'pkgs/development/libraries/qscintilla')
-rw-r--r-- | pkgs/development/libraries/qscintilla/default.nix | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/development/libraries/qscintilla/default.nix b/pkgs/development/libraries/qscintilla/default.nix new file mode 100644 index 00000000000..c98496e336c --- /dev/null +++ b/pkgs/development/libraries/qscintilla/default.nix @@ -0,0 +1,47 @@ +{ stdenv, fetchurl, qt }: + +stdenv.mkDerivation rec { + pname = "qscintilla"; + version = "2.8.3"; + + name = "${pname}-${version}"; + + src = fetchurl { + url = "mirror://sourceforge/pyqt/QScintilla2/QScintilla-2.8.3/${name}.tar.gz"; + sha256 = "fb94e6d61c3ccd4bf167d5f092629e619f7069d42207469458998b761a7cf505"; + }; + + buildInputs = [ qt ]; + + preConfigure = '' + cd Qt4Qt5 + sed -i -e "s,\$\$\\[QT_INSTALL_LIBS\\],$out/libs," \ + -e "s,\$\$\\[QT_INSTALL_HEADERS\\],$out/include/," \ + -e "s,\$\$\\[QT_INSTALL_TRANSLATIONS\\],$out/share/qt/translations," \ + -e "s,\$\$\\[QT_INSTALL_DATA\\],$out/share/qt," \ + qscintilla.pro + qmake qscintilla.pro + ''; + + # TODO PyQt Support. + + meta = { + description = "A Qt port of the Scintilla text editing library"; + longDescription = '' + QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor + control. + + As well as features found in standard text editing components, + QScintilla includes features especially useful when editing and + debugging source code. These include support for syntax styling, + error indicators, code completion and call tips. The selection + margin can contain markers like those used in debuggers to + indicate breakpoints and the current line. Styling choices are + more open than with many editors, allowing the use of + proportional fonts, bold and italics, multiple foreground and + background colours and multiple fonts. + ''; + homepage = http://www.riverbankcomputing.com/software/qscintilla/intro; + license = stdenv.lib.licenses.gpl2; # and gpl3 and commercial + }; +} |