mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
qscintilla: 2.9 -> 2.9.4
This commit is contained in:
parent
9452abe684
commit
22dbb82129
@ -1,21 +1,21 @@
|
||||
{ stdenv, fetchurl
|
||||
{ stdenv, fetchurl, unzip
|
||||
, qt4 ? null, qmake4Hook ? null
|
||||
, withQt5 ? false, qtbase ? null, qmakeHook ? null
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qscintilla";
|
||||
version = "2.9";
|
||||
version = "2.9.4";
|
||||
|
||||
name = "${pname}-${if withQt5 then "qt5" else "qt4"}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/pyqt/QScintilla2/QScintilla-${version}/QScintilla-gpl-${version}.tar.gz";
|
||||
sha256 = "d7c32e32582f93779de861006d87467b38b9ebc06e3d0b32e981cb24369fa417";
|
||||
url = "mirror://sourceforge/pyqt/QScintilla2/QScintilla-${version}/QScintilla_gpl-${version}.zip";
|
||||
sha256 = "04678skipydx68zf52vznsfmll2v9aahr66g50lcqbr6xsmgr1yi";
|
||||
};
|
||||
|
||||
buildInputs = if withQt5 then [ qtbase ] else [ qt4 ];
|
||||
nativeBuildInputs = if withQt5 then [ qmakeHook ] else [ qmake4Hook ];
|
||||
nativeBuildInputs = [ unzip ] ++ (if withQt5 then [ qmakeHook ] else [ qmake4Hook ]);
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
@ -47,5 +47,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = http://www.riverbankcomputing.com/software/qscintilla/intro;
|
||||
license = with licenses; [ gpl2 gpl3 ]; # and commercial
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user