Merge pull request #99956 from FRidh/qt

This commit is contained in:
Doron Behar 2020-10-08 22:49:35 +03:00 committed by GitHub
commit 7ebd42b87f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 325 additions and 109 deletions

View File

@ -15,13 +15,13 @@ assert withGtk3 -> gtk3 != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "carla"; pname = "carla";
version = "2.1.1"; version = "2.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "falkTX"; owner = "falkTX";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0c3y4a6cgi4bv1mg57i3qn5ia6pqjqlaylvkapj6bmpsw71ig22g"; sha256 = "B4xoRuNEW4Lz9haP8fqxOTcysGTNEXFOq9UXqUJLSFw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -32,9 +32,8 @@ in py.buildPythonApplication rec {
./unlock_constraints.patch ./unlock_constraints.patch
]; ];
postFixup = '' preFixup = ''
wrapQtApp $out/bin/friture makeWrapperArgs+=("''${qtWrapperArgs[@]}")
wrapQtApp $out/bin/.friture-wrapped
''; '';
meta = with lib; { meta = with lib; {

View File

@ -30,5 +30,6 @@ python3Packages.buildPythonApplication rec {
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux; platforms = platforms.linux;
broken = true; # Needs Qt wrapping
}; };
} }

View File

@ -28,8 +28,8 @@ buildPythonApplication rec {
# QT setup in tests broken. # QT setup in tests broken.
doCheck = false; doCheck = false;
postFixup = '' preFixup = ''
wrapQtApp $out/bin/vorta makeWrapperArgs+=("''${qtWrapperArgs[@]}")
''; '';
meta = with lib; { meta = with lib; {

View File

@ -46,11 +46,13 @@ in python.pkgs.buildPythonApplication {
propagatedBuildInputs = [ pythonEnv ]; propagatedBuildInputs = [ pythonEnv ];
postInstall = '' postInstall = ''
wrapQtApp "$out/bin/retext" \ makeWrapperArgs+=("''${qtWrapperArgs[@]}")
--set ASPELL_CONF "dict-dir ${buildEnv { makeWrapperArgs+=(
"--set" "ASPELL_CONF" "dict-dir ${buildEnv {
name = "aspell-all-dicts"; name = "aspell-all-dicts";
paths = map (path: "${path}/lib/aspell") enchantAspellDicts; paths = map (path: "${path}/lib/aspell") enchantAspellDicts;
}}" }}"
)
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -10,7 +10,7 @@ let
[ qscintilla-qt5 gdal jinja2 numpy psycopg2 [ qscintilla-qt5 gdal jinja2 numpy psycopg2
chardet dateutil pyyaml pytz requests urllib3 pygments pyqt5 sip owslib six ]; chardet dateutil pyyaml pytz requests urllib3 pygments pyqt5 sip owslib six ];
in mkDerivation rec { in mkDerivation rec {
version = "3.10.9"; version = "3.10.10";
pname = "qgis"; pname = "qgis";
name = "${pname}-unwrapped-${version}"; name = "${pname}-unwrapped-${version}";
@ -18,7 +18,7 @@ in mkDerivation rec {
owner = "qgis"; owner = "qgis";
repo = "QGIS"; repo = "QGIS";
rev = "final-${lib.replaceStrings ["."] ["_"] version}"; rev = "final-${lib.replaceStrings ["."] ["_"] version}";
sha256 = "0d646hvrhhgsw789qc2g3iblmsvr64qh15jck1jkaljzrj3qbml6"; sha256 = "yZBG+bpJA7iKkUEjVo45d+bmRp9WS7mk8z96FLf0ZQ0=";
}; };
passthru = { passthru = {

View File

@ -2,6 +2,7 @@
, mkDerivationWith , mkDerivationWith
, python3Packages , python3Packages
, fetchFromGitHub , fetchFromGitHub
, wrapQtAppsHook
}: }:
mkDerivationWith python3Packages.buildPythonApplication rec { mkDerivationWith python3Packages.buildPythonApplication rec {
@ -27,8 +28,9 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
requests requests
]; ];
postFixup = '' nativeBuildInputs = [ wrapQtAppsHook ];
wrapQtApp "$out/bin/cq-editor" preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
''; '';
checkInputs = with python3Packages; [ checkInputs = with python3Packages; [

View File

@ -40,15 +40,15 @@ python3Packages.buildPythonApplication rec {
# Avoid double wrapping Python programs. # Avoid double wrapping Python programs.
dontWrapQtApps = true; dontWrapQtApps = true;
# TODO: A bug in python wrapper
# see https://github.com/NixOS/nixpkgs/pull/75054#discussion_r357656916
preFixup = '' preFixup = ''
# TODO: A bug in python wrapper
# see https://github.com/NixOS/nixpkgs/pull/75054#discussion_r357656916
makeWrapperArgs="''${qtWrapperArgs[@]}" makeWrapperArgs="''${qtWrapperArgs[@]}"
''; '';
# Executable in $out/bin is a symlink to $out/share/dupeguru/run.py
# so wrapPythonPrograms hook does not handle it automatically.
postFixup = '' postFixup = ''
# Executable in $out/bin is a symlink to $out/share/dupeguru/run.py
# so wrapPythonPrograms hook does not handle it automatically.
wrapPythonProgramsIn "$out/share/dupeguru" "$out $pythonPath" wrapPythonProgramsIn "$out/share/dupeguru" "$out $pythonPath"
''; '';
@ -58,5 +58,6 @@ python3Packages.buildPythonApplication rec {
license = licenses.bsd3; license = licenses.bsd3;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.novoxudonoser ]; maintainers = [ maintainers.novoxudonoser ];
broken = true; # mv: cannot stat '_block.cpython-38m*.so': No such file or directory
}; };
} }

View File

@ -3,13 +3,13 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "electron-cash"; pname = "electron-cash";
version = "4.1.0"; version = "4.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Electron-Cash"; owner = "Electron-Cash";
repo = "Electron-Cash"; repo = "Electron-Cash";
rev = version; rev = version;
sha256 = "1ccfm6kkmbkvykfdzrisxvr0lx9kgq4l43ixk6v3xnvhnbfwz4s2"; sha256 = "1fllz2s20lg4hrppzmnlgjy9mrq7gaq66l2apb3vz1avzvsjw3gm";
}; };
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
@ -36,15 +36,6 @@ python3Packages.buildPythonApplication rec {
nativeBuildInputs = [ wrapQtAppsHook ]; nativeBuildInputs = [ wrapQtAppsHook ];
patches = [
# Patch a failed test, this can be removed in next version
(fetchpatch {
url =
"https://github.com/Electron-Cash/Electron-Cash/commit/1a9122d59be0c351b14c174a60880c2e927e6168.patch";
sha256 = "0zw629ypn9jxb1y124s3dkbbf2q3wj1i97j16lzdxpjy3sk0p5hk";
})
];
postPatch = '' postPatch = ''
substituteInPlace contrib/requirements/requirements.txt \ substituteInPlace contrib/requirements/requirements.txt \
--replace "qdarkstyle==2.6.8" "qdarkstyle<3" --replace "qdarkstyle==2.6.8" "qdarkstyle<3"
@ -70,9 +61,11 @@ python3Packages.buildPythonApplication rec {
# Electron Cash was unable to find the secp256k1 library on this system. # Electron Cash was unable to find the secp256k1 library on this system.
# Elliptic curve cryptography operations will be performed in slow # Elliptic curve cryptography operations will be performed in slow
# Python-only mode. # Python-only mode.
postFixup = '' preFixup = ''
wrapQtApp $out/bin/electron-cash \ makeWrapperArgs+=("''${qtWrapperArgs[@]}")
--prefix LD_LIBRARY_PATH : ${secp256k1}/lib makeWrapperArgs+=(
"--prefix" "LD_LIBRARY_PATH" ":" "${secp256k1}/lib"
)
''; '';
doInstallCheck = true; doInstallCheck = true;

View File

@ -36,8 +36,8 @@ python3Packages.buildPythonApplication rec {
sed -i '/Created: .*/d' gui/qt/icons_rc.py sed -i '/Created: .*/d' gui/qt/icons_rc.py
''; '';
postFixup = '' preFixup = ''
wrapQtApp $out/bin/electrum-ltc makeWrapperArgs+=("''${qtWrapperArgs[@]}")
''; '';
checkPhase = '' checkPhase = ''

View File

@ -1,6 +1,7 @@
{ mkDerivation { mkDerivation
, lib , lib
, fetchurl , fetchurl
, fetchpatch
, extra-cmake-modules , extra-cmake-modules
, kcmutils , kcmutils
, kconfigwidgets , kconfigwidgets
@ -13,25 +14,55 @@
, libfakekey , libfakekey
, libXtst , libXtst
, qtx11extras , qtx11extras
, qtmultimedia
, qtgraphicaleffects
, sshfs , sshfs
, makeWrapper , makeWrapper
, kwayland , kwayland
, kio , kio
, kpeoplevcard
, kpeople
, kirigami2
, pulseaudio-qt
}: }:
mkDerivation rec { mkDerivation rec {
pname = "kdeconnect"; pname = "kdeconnect";
version = "1.3.5"; version = "20.08.1";
src = fetchurl { src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/${pname}-kde-${version}.tar.xz"; url = "https://download.kde.org/stable/release-service/${version}/src/${pname}-kde-${version}.tar.xz";
sha256 = "02lr3xx5s2mgddac4n3lkgr7ppf1z5m6ajs90rjix0vs8a271kp5"; sha256 = "0s76djgpx08jfmh99c7kx18mnr3w7bv4hdra120nicq89mmy7gwf";
}; };
patches = [
# https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/328
(fetchpatch {
url = "https://invent.kde.org/network/kdeconnect-kde/-/commit/6101ef3ad07d865958d58a3d2736f5536f1c5719.diff";
sha256 = "17mr7k13226vzcgxlmfs6q2mdc5j7vwp4iri9apmh6xlf6r591ac";
})
];
buildInputs = [ buildInputs = [
libfakekey libXtst libfakekey
ki18n kiconthemes kcmutils kconfigwidgets kdbusaddons knotifications libXtst
qca-qt5 qtx11extras makeWrapper kwayland kio qtmultimedia
qtgraphicaleffects
pulseaudio-qt
kpeoplevcard
kpeople
kirigami2
ki18n
kiconthemes
kcmutils
kconfigwidgets
kdbusaddons
knotifications
qca-qt5
qtx11extras
makeWrapper
kwayland
kio
]; ];
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View File

@ -25,10 +25,8 @@ buildPythonApplication rec {
xvfb-run -s '-screen 0 800x600x24' ./test-runner xvfb-run -s '-screen 0 800x600x24' ./test-runner
''; '';
postInstall = '' preFixup = ''
for program in $out/bin/*; do makeWrapperArgs+=("''${qtWrapperArgs[@]}")
wrapQtApp $program --prefix PYTHONPATH : $PYTHONPATH
done
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonApplication, fetchFromGitHub, pyqt5, git-annex-adapter }: { stdenv, buildPythonApplication, fetchFromGitHub, pyqt5, qt5, git-annex-adapter }:
buildPythonApplication rec { buildPythonApplication rec {
pname = "git-annex-metadata-gui"; pname = "git-annex-metadata-gui";
@ -15,6 +15,12 @@ buildPythonApplication rec {
substituteInPlace setup.py --replace "'PyQt5', " "" substituteInPlace setup.py --replace "'PyQt5', " ""
''; '';
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
propagatedBuildInputs = [ pyqt5 git-annex-adapter ]; propagatedBuildInputs = [ pyqt5 git-annex-adapter ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -0,0 +1,40 @@
{ mkDerivation
, lib
, fetchurl
, cmake
, extra-cmake-modules
, pkg-config
, kcoreaddons
, kpeople
, kcontacts
}:
mkDerivation rec {
pname = "kpeoplevcard";
version = "0.1";
src = fetchurl {
url = "https://download.kde.org/stable/${pname}/${version}/${pname}-${version}.tar.xz";
sha256 = "1hv3fq5k0pps1wdvq9r1zjnr0nxf8qc3vwsnzh9jpvdy79ddzrcd";
};
buildInputs = [
kcoreaddons
kpeople
kcontacts
];
nativeBuildInputs = [
pkg-config
cmake
extra-cmake-modules
];
meta = with lib; {
description = "Pulseaudio bindings for Qt";
homepage = "KPeople VCard Support";
license = with licenses; [ lgpl2 ];
maintainers = with maintainers; [ doronbehar ];
};
}

View File

@ -0,0 +1,35 @@
{ mkDerivation
, lib
, fetchurl
, cmake
, extra-cmake-modules
, pkg-config
, pulseaudio
}:
mkDerivation rec {
pname = "pulseaudio-qt";
version = "1.2.0";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${pname}-${lib.versions.majorMinor version}.tar.xz";
sha256 = "1i0ql68kxv9jxs24rsd3s7jhjid3f2fq56fj4wbp16zb4wd14099";
};
buildInputs = [
pulseaudio
];
nativeBuildInputs = [
pkg-config
cmake
extra-cmake-modules
];
meta = with lib; {
description = "Pulseaudio bindings for Qt";
homepage = "https://invent.kde.org/libraries/pulseaudio-qt";
license = with licenses; [ lgpl2 ];
maintainers = with maintainers; [ doronbehar ];
};
}

View File

@ -6,17 +6,17 @@
let let
pname = "qscintilla-qt${if withQt5 then "5" else "4"}"; pname = "qscintilla-qt${if withQt5 then "5" else "4"}";
version = "2.11.2"; version = "2.11.5";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
inherit pname version; inherit pname version;
src = fetchurl { src = fetchurl {
url = "https://www.riverbankcomputing.com/static/Downloads/QScintilla/${version}/QScintilla_gpl-${version}.tar.gz"; url = "https://www.riverbankcomputing.com/static/Downloads/QScintilla/${version}/QScintilla-${version}.tar.gz";
sha256 = "18glb2v07mwfz6p8qmwhzcaaczyc36x3gn9wx8ndm7q6d93xr6q2"; sha256 = "k2Hib9f7e1gZp+uSxcGIChjem9PtndLrAI5XOIaWcWs=";
}; };
sourceRoot = "QScintilla_gpl-${version}/Qt4Qt5"; sourceRoot = "QScintilla-${version}/Qt4Qt5";
buildInputs = [ (if withQt5 then qtbase else qt4) ]; buildInputs = [ (if withQt5 then qtbase else qt4) ];
@ -63,7 +63,7 @@ in stdenv.mkDerivation rec {
background colours and multiple fonts. background colours and multiple fonts.
''; '';
homepage = "https://www.riverbankcomputing.com/software/qscintilla/intro"; homepage = "https://www.riverbankcomputing.com/software/qscintilla/intro";
license = with licenses; [ gpl2 gpl3 ]; # and commercial license = with licenses; [ gpl3 ]; # and commercial
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.unix; platforms = platforms.unix;
}; };

View File

@ -1,13 +1,44 @@
{ lib, buildPythonPackage, fetchPypi, future, networkx, pygments, lxml, colorama, matplotlib, { lib
asn1crypto, click, pydot, ipython, pyqt5, pyperclip }: , fetchpatch
, buildPythonPackage
, fetchFromGitHub
, future
, networkx
, pygments
, lxml
, colorama
, matplotlib
, asn1crypto
, click
, pydot
, ipython
, pyqt5
, pyperclip
, nose
, nose-timer
, mock
, python_magic
, codecov
, coverage
, qt5
# This is usually used as a library, and it'd be a shame to force the gui
# libraries to the closure if gui is not desired.
, withGui ? false
# Tests take a very long time, and currently fail, but next release' tests
# shouldn't fail
, doCheck ? false
}:
buildPythonPackage rec { buildPythonPackage rec {
version = "3.3.5"; version = "3.3.5";
pname = "androguard"; pname = "androguard";
src = fetchPypi { # No tests in pypi tarball
inherit pname version; src = fetchFromGitHub {
sha256 = "f0655ca3a5add74c550951e79bd0bebbd1c5b239178393d30d8db0bd3202cda2"; repo = pname;
owner = pname;
rev = "v${version}";
sha256 = "0zc8m1xnkmhz2v12ddn47q0c01p3sbna2v5npfxhcp88szswlr9y";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -21,12 +52,37 @@ buildPythonPackage rec {
click click
pydot pydot
ipython ipython
] ++ lib.optionals withGui [
pyqt5 pyqt5
pyperclip pyperclip
]; ];
# Tests are not shipped on PyPI. checkInputs = [
doCheck = false; pyqt5
pyperclip
nose
nose-timer
codecov
coverage
mock
python_magic
];
inherit doCheck;
nativeBuildInputs = lib.optionals withGui [ qt5.wrapQtAppsHook ];
# If it won't be verbose, you'll see nothing going on for a long time.
checkPhase = ''
runHook preCheck
nosetests --verbosity=3
runHook postCheck
'';
preFixup = lib.optionalString withGui ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
meta = { meta = {
description = "Tool and python library to interact with Android Files"; description = "Tool and python library to interact with Android Files";

View File

@ -0,0 +1,20 @@
{ buildPythonPackage, fetchPypi, lib, nose, }:
buildPythonPackage rec {
pname = "nose-timer";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "09hwjwbczi06bfqgiylb2yxs5h88jdl26zi1fdqxdzvamrkksf2c";
};
propagatedBuildInputs = [ nose ];
meta = with lib; {
homepage = "https://github.com/mahmoudimus/nose-timer";
license = licenses.mit;
description = "A timer plugin for nosetests (how much time does every test take?)";
maintainers = with maintainers; [ doronbehar ];
};
}

View File

@ -30,12 +30,12 @@ let
in buildPythonPackage rec { in buildPythonPackage rec {
pname = "PyQt5"; pname = "PyQt5";
version = "5.14.2"; version = "5.15.1";
format = "other"; format = "other";
src = pythonPackages.fetchPypi { src = pythonPackages.fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1c4y4qi1l540gd125ikj0al00k5pg65kmqaixcfbzslrsrphq8xx"; sha256 = "18grs2p698ihjgi8agksv6sajakciywyr29ihslqvl260a2np9yr";
}; };
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];

View File

@ -7,6 +7,10 @@ let
inherit (pythonPackages) buildPythonPackage python isPy3k pyqt5 enum34; inherit (pythonPackages) buildPythonPackage python isPy3k pyqt5 enum34;
inherit (pyqt5) sip; inherit (pyqt5) sip;
# source: https://www.riverbankcomputing.com/pipermail/pyqt/2020-June/042985.html
patches = lib.optional (lib.hasPrefix "5.14" pyqt5.version)
[ ./fix-build-with-qt-514.patch ]
;
in buildPythonPackage rec { in buildPythonPackage rec {
pname = "PyQtWebEngine"; pname = "PyQtWebEngine";
@ -18,10 +22,7 @@ in buildPythonPackage rec {
sha256 = "0xdzhl07x3mzfnr5cf4d640168vxi7fyl0fz1pvpbgs0irl14237"; sha256 = "0xdzhl07x3mzfnr5cf4d640168vxi7fyl0fz1pvpbgs0irl14237";
}; };
patches = [ inherit patches;
# source: https://www.riverbankcomputing.com/pipermail/pyqt/2020-June/042985.html
./fix-build-with-qt-514.patch
];
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];

View File

@ -2,14 +2,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = sip-module; pname = sip-module;
version = "4.19.22"; version = "4.19.24";
format = "other"; format = "other";
disabled = isPyPy; disabled = isPyPy;
src = fetchurl { src = fetchurl {
url = "https://www.riverbankcomputing.com/static/Downloads/sip/${version}/sip-${version}.tar.gz"; url = "https://www.riverbankcomputing.com/static/Downloads/sip/${version}/sip-${version}.tar.gz";
sha256 = "0idywc326l8v1m3maprg1aq2gph67mmnnsskvlwfx8n19s16idz1"; sha256 = "1ra15vb5i9gkg2vdvh16cq9x2mmzw1yi3xphxs8q34q1pf83gkgd";
}; };
configurePhase = '' configurePhase = ''

View File

@ -278,7 +278,7 @@ in
dispad = callPackage ../tools/X11/dispad { }; dispad = callPackage ../tools/X11/dispad { };
dupeguru = callPackage ../applications/misc/dupeguru { qt5 = qt514; }; dupeguru = callPackage ../applications/misc/dupeguru { };
dump1090 = callPackage ../applications/radio/dump1090 { }; dump1090 = callPackage ../applications/radio/dump1090 { };
@ -2061,8 +2061,10 @@ in
gmic = callPackage ../tools/graphics/gmic { }; gmic = callPackage ../tools/graphics/gmic { };
gmic-qt = libsForQt514.callPackage ../tools/graphics/gmic-qt { }; gmic-qt = libsForQt5.callPackage ../tools/graphics/gmic-qt { };
# NOTE: If overriding qt version, krita needs to use the same qt version as
# well.
gmic-qt-krita = gmic-qt.override { gmic-qt-krita = gmic-qt.override {
variant = "krita"; variant = "krita";
}; };
@ -3703,7 +3705,7 @@ in
flashrom = callPackage ../tools/misc/flashrom { }; flashrom = callPackage ../tools/misc/flashrom { };
flent = python3Packages.callPackage ../applications/networking/flent { qt5 = qt514; }; flent = python3Packages.callPackage ../applications/networking/flent { };
flpsed = callPackage ../applications/editors/flpsed { }; flpsed = callPackage ../applications/editors/flpsed { };
@ -6491,7 +6493,7 @@ in
jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731
}; };
qarte = libsForQt514.callPackage ../applications/video/qarte { }; qarte = libsForQt5.callPackage ../applications/video/qarte { };
qlcplus = libsForQt512.callPackage ../applications/misc/qlcplus { }; qlcplus = libsForQt512.callPackage ../applications/misc/qlcplus { };
@ -6595,7 +6597,7 @@ in
reredirect = callPackage ../tools/misc/reredirect { }; reredirect = callPackage ../tools/misc/reredirect { };
retext = libsForQt514.callPackage ../applications/editors/retext { }; retext = libsForQt5.callPackage ../applications/editors/retext { };
richgo = callPackage ../development/tools/richgo { }; richgo = callPackage ../development/tools/richgo { };
@ -9264,7 +9266,18 @@ in
graalvm8-ee graalvm8-ee
graalvm11-ee; graalvm11-ee;
openshot-qt = libsForQt514.callPackage ../applications/video/openshot-qt { }; openshot-qt = let
# Cannot use a newer Qt (5.15) version because it requires qtwebkit
# and our qtwebkit fails to build with 5.15. 01bcfd3579219d60e5d07df309a000f96b2b658b
pkgs_ = pkgs.extend(_: prev: {
pythonInterpreters = prev.pythonInterpreters.override(oldAttrs: {
pkgs = oldAttrs.pkgs.extend(_: _: {
qt5 = pkgs.qt514;
libsForQt5 = pkgs.libsForQt514;
});
});
});
in pkgs_.libsForQt514.callPackage ../applications/video/openshot-qt { };
openspin = callPackage ../development/compilers/openspin { }; openspin = callPackage ../development/compilers/openspin { };
@ -10217,10 +10230,9 @@ in
python3Packages = python3.pkgs; python3Packages = python3.pkgs;
pythonInterpreters = callPackage ./../development/interpreters/python { pythonInterpreters = callPackage ./../development/interpreters/python {
# Overrides that apply to all Python interpreters # Overrides that apply to all Python interpreters and their packages
# Generally, this should be avoided.
pkgs = pkgs.extend (final: _: { pkgs = pkgs.extend (final: _: {
qt5 = final.qt514;
libsForQt5 = final.libsForQt514;
}); });
}; };
inherit (pythonInterpreters) python27 python36 python37 python38 python39 python3Minimal pypy27 pypy36; inherit (pythonInterpreters) python27 python36 python37 python38 python39 python3Minimal pypy27 pypy36;
@ -10822,7 +10834,7 @@ in
}; };
# Does not actually depend on Qt 5 # Does not actually depend on Qt 5
inherit (kdeFrameworks) extra-cmake-modules kapidox kdoctools; inherit (kdeFrameworks) extra-cmake-modules;
coccinelle = callPackage ../development/tools/misc/coccinelle { coccinelle = callPackage ../development/tools/misc/coccinelle {
ocamlPackages = ocaml-ng.ocamlPackages_4_05; ocamlPackages = ocaml-ng.ocamlPackages_4_05;
@ -11217,7 +11229,7 @@ in
kati = callPackage ../development/tools/build-managers/kati { }; kati = callPackage ../development/tools/build-managers/kati { };
kcc = libsForQt514.callPackage ../applications/graphics/kcc { }; kcc = libsForQt5.callPackage ../applications/graphics/kcc { };
kconfig-frontends = callPackage ../development/tools/misc/kconfig-frontends { kconfig-frontends = callPackage ../development/tools/misc/kconfig-frontends {
gperf = gperf_3_0; gperf = gperf_3_0;
@ -15033,7 +15045,7 @@ in
kwidgetsaddons kwindowsystem kxmlgui kxmlrpcclient modemmanager-qt kwidgetsaddons kwindowsystem kxmlgui kxmlrpcclient modemmanager-qt
networkmanager-qt plasma-framework prison qqc2-desktop-style solid sonnet networkmanager-qt plasma-framework prison qqc2-desktop-style solid sonnet
syntax-highlighting syndication threadweaver kirigami2 kholidays kpurpose syntax-highlighting syndication threadweaver kirigami2 kholidays kpurpose
kcontacts kquickcharts; kcontacts kquickcharts kdoctools kapidox;
### KDE PLASMA 5 ### KDE PLASMA 5
@ -15069,6 +15081,8 @@ in
kproperty = callPackage ../development/libraries/kproperty { }; kproperty = callPackage ../development/libraries/kproperty { };
kpeoplevcard = callPackage ../development/libraries/kpeoplevcard { };
kreport = callPackage ../development/libraries/kreport { }; kreport = callPackage ../development/libraries/kreport { };
libcommuni = callPackage ../development/libraries/libcommuni { }; libcommuni = callPackage ../development/libraries/libcommuni { };
@ -15113,6 +15127,8 @@ in
suffix = "qt5"; suffix = "qt5";
}; };
pulseaudio-qt = callPackage ../development/libraries/pulseaudio-qt { };
qca-qt5 = callPackage ../development/libraries/qca-qt5 { }; qca-qt5 = callPackage ../development/libraries/qca-qt5 { };
qmltermwidget = callPackage ../development/libraries/qmltermwidget { qmltermwidget = callPackage ../development/libraries/qmltermwidget {
@ -16763,7 +16779,7 @@ in
inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit Cocoa; inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit Cocoa;
}; };
qpaeq = libsForQt514.callPackage ../servers/pulseaudio/qpaeq.nix { }; qpaeq = libsForQt5.callPackage ../servers/pulseaudio/qpaeq.nix { };
pulseaudioFull = pulseaudio.override { pulseaudioFull = pulseaudio.override {
x11Support = true; x11Support = true;
@ -17515,7 +17531,7 @@ in
fatrace = callPackage ../os-specific/linux/fatrace { }; fatrace = callPackage ../os-specific/linux/fatrace { };
ffado = libsForQt514.callPackage ../os-specific/linux/ffado { ffado = libsForQt5.callPackage ../os-specific/linux/ffado {
inherit (pkgs.linuxPackages) kernel; inherit (pkgs.linuxPackages) kernel;
}; };
libffado = ffado; libffado = ffado;
@ -19738,7 +19754,17 @@ in
bambootracker = libsForQt5.callPackage ../applications/audio/bambootracker { }; bambootracker = libsForQt5.callPackage ../applications/audio/bambootracker { };
cadence = libsForQt514.callPackage ../applications/audio/cadence { }; cadence = let
# Use Qt 5.14 consistently
pkgs_ = pkgs.extend(_: prev: {
pythonInterpreters = prev.pythonInterpreters.override(oldAttrs: {
pkgs = oldAttrs.pkgs.extend(_: _: {
qt5 = pkgs.qt514;
libsForQt5 = pkgs.libsForQt514;
});
});
});
in pkgs_.libsForQt514.callPackage ../applications/audio/cadence { };
cheesecutter = callPackage ../applications/audio/cheesecutter { }; cheesecutter = callPackage ../applications/audio/cheesecutter { };
@ -19934,9 +19960,9 @@ in
calculix = callPackage ../applications/science/math/calculix {}; calculix = callPackage ../applications/science/math/calculix {};
calibre-py2 = libsForQt514.callPackage ../applications/misc/calibre { pythonPackages = python2Packages; }; calibre-py2 = libsForQt5.callPackage ../applications/misc/calibre { pythonPackages = python2Packages; };
calibre-py3 = libsForQt514.callPackage ../applications/misc/calibre { pythonPackages = python3Packages; }; calibre-py3 = libsForQt5.callPackage ../applications/misc/calibre { pythonPackages = python3Packages; };
calibre = calibre-py3; calibre = calibre-py3;
@ -19954,7 +19980,7 @@ in
carddav-util = callPackage ../tools/networking/carddav-util { }; carddav-util = callPackage ../tools/networking/carddav-util { };
carla = libsForQt514.callPackage ../applications/audio/carla { }; carla = libsForQt5.callPackage ../applications/audio/carla { };
castor = callPackage ../applications/networking/browsers/castor { }; castor = callPackage ../applications/networking/browsers/castor { };
@ -20101,7 +20127,7 @@ in
coyim = callPackage ../applications/networking/instant-messengers/coyim {}; coyim = callPackage ../applications/networking/instant-messengers/coyim {};
cq-editor = libsForQt514.callPackage ../applications/graphics/cq-editor { cq-editor = libsForQt5.callPackage ../applications/graphics/cq-editor {
python3Packages = python37Packages; python3Packages = python37Packages;
}; };
@ -20311,13 +20337,13 @@ in
ekho = callPackage ../applications/audio/ekho { }; ekho = callPackage ../applications/audio/ekho { };
electron-cash = libsForQt514.callPackage ../applications/misc/electron-cash { }; electron-cash = libsForQt5.callPackage ../applications/misc/electron-cash { };
electrum = libsForQt5.callPackage ../applications/misc/electrum { }; electrum = libsForQt5.callPackage ../applications/misc/electrum { };
electrum-dash = callPackage ../applications/misc/electrum/dash.nix { }; electrum-dash = callPackage ../applications/misc/electrum/dash.nix { };
electrum-ltc = libsForQt514.callPackage ../applications/misc/electrum/ltc.nix { }; electrum-ltc = libsForQt5.callPackage ../applications/misc/electrum/ltc.nix { };
elementary-planner = callPackage ../applications/office/elementary-planner { }; elementary-planner = callPackage ../applications/office/elementary-planner { };
@ -20805,10 +20831,10 @@ in
fractal = callPackage ../applications/networking/instant-messengers/fractal { }; fractal = callPackage ../applications/networking/instant-messengers/fractal { };
freecad = libsForQt514.callPackage ../applications/graphics/freecad { freecad = libsForQt5.callPackage ../applications/graphics/freecad {
mpi = openmpi; mpi = openmpi;
}; };
freecadStable = libsForQt514.callPackage ../applications/graphics/freecad/stable.nix { freecadStable = libsForQt5.callPackage ../applications/graphics/freecad/stable.nix {
mpi = openmpi; mpi = openmpi;
opencascade-occt = opencascade-occt730; opencascade-occt = opencascade-occt730;
python3Packages = python37Packages; python3Packages = python37Packages;
@ -20839,7 +20865,7 @@ in
freerdpUnstable = freerdp; freerdpUnstable = freerdp;
friture = libsForQt514.callPackage ../applications/audio/friture { }; friture = libsForQt5.callPackage ../applications/audio/friture { };
fte = callPackage ../applications/editors/fte { }; fte = callPackage ../applications/editors/fte { };
@ -20933,7 +20959,7 @@ in
opencv = python37Packages.opencv3; opencv = python37Packages.opencv3;
}; };
manuskript = libsForQt514.callPackage ../applications/editors/manuskript { }; manuskript = libsForQt5.callPackage ../applications/editors/manuskript { };
manul = callPackage ../development/tools/manul { }; manul = callPackage ../development/tools/manul { };
@ -21396,7 +21422,7 @@ in
# Impressive, formerly known as "KeyJNote". # Impressive, formerly known as "KeyJNote".
impressive = callPackage ../applications/office/impressive { }; impressive = callPackage ../applications/office/impressive { };
inkcut = libsForQt514.callPackage ../applications/misc/inkcut { }; inkcut = libsForQt5.callPackage ../applications/misc/inkcut { };
inkscape = callPackage ../applications/graphics/inkscape { inkscape = callPackage ../applications/graphics/inkscape {
lcms = lcms2; lcms = lcms2;
@ -21562,7 +21588,7 @@ in
k4dirstat = libsForQt5.callPackage ../applications/misc/k4dirstat { }; k4dirstat = libsForQt5.callPackage ../applications/misc/k4dirstat { };
kdeconnect = libsForQt514.callPackage ../applications/misc/kdeconnect { }; kdeconnect = libsForQt5.callPackage ../applications/misc/kdeconnect { };
inherit (kdeFrameworks) kdesu; inherit (kdeFrameworks) kdesu;
@ -21623,7 +21649,7 @@ in
kmplayer = libsForQt5.callPackage ../applications/video/kmplayer { }; kmplayer = libsForQt5.callPackage ../applications/video/kmplayer { };
kmymoney = libsForQt514.callPackage ../applications/office/kmymoney { kmymoney = libsForQt5.callPackage ../applications/office/kmymoney {
inherit (kdeApplications) kidentitymanagement; inherit (kdeApplications) kidentitymanagement;
inherit (kdeFrameworks) kdewebkit; inherit (kdeFrameworks) kdewebkit;
}; };
@ -21638,7 +21664,7 @@ in
kpt = callPackage ../applications/networking/cluster/kpt { }; kpt = callPackage ../applications/networking/cluster/kpt { };
krita = libsForQt514.callPackage ../applications/graphics/krita { krita = libsForQt5.callPackage ../applications/graphics/krita {
openjpeg = openjpeg_1; openjpeg = openjpeg_1;
}; };
@ -21720,7 +21746,7 @@ in
legit = gitAndTools.legit; legit = gitAndTools.legit;
leo-editor = libsForQt514.callPackage ../applications/editors/leo-editor { }; leo-editor = libsForQt5.callPackage ../applications/editors/leo-editor { };
libowfat = callPackage ../development/libraries/libowfat { }; libowfat = callPackage ../development/libraries/libowfat { };
@ -22875,7 +22901,18 @@ in
qemu-utils = callPackage ../applications/virtualization/qemu/utils.nix {}; qemu-utils = callPackage ../applications/virtualization/qemu/utils.nix {};
qgis-unwrapped = libsForQt514.callPackage ../applications/gis/qgis/unwrapped.nix { # Our 3.10 LTS cannot use a newer Qt (5.15) version because it requires qtwebkit
# and our qtwebkit fails to build with 5.15. 01bcfd3579219d60e5d07df309a000f96b2b658b
qgis-unwrapped = let
pkgs_ = pkgs.extend(_: prev: {
pythonInterpreters = prev.pythonInterpreters.override(oldAttrs: {
pkgs = oldAttrs.pkgs.extend(_: _: {
qt5 = pkgs.qt514;
libsForQt5 = pkgs.libsForQt514;
});
});
});
in pkgs_.libsForQt514.callPackage ../applications/gis/qgis/unwrapped.nix {
withGrass = false; withGrass = false;
}; };
@ -22907,7 +22944,7 @@ in
qmmp = libsForQt5.callPackage ../applications/audio/qmmp { }; qmmp = libsForQt5.callPackage ../applications/audio/qmmp { };
qnotero = libsForQt514.callPackage ../applications/office/qnotero { }; qnotero = libsForQt5.callPackage ../applications/office/qnotero { };
qrcode = callPackage ../tools/graphics/qrcode {}; qrcode = callPackage ../tools/graphics/qrcode {};
@ -23001,15 +23038,7 @@ in
quodlibet-xine-full = quodlibet-full.override { xineBackend = true; tag = "-xine-full"; }; quodlibet-xine-full = quodlibet-full.override { xineBackend = true; tag = "-xine-full"; };
qutebrowser = let qutebrowser = libsForQt5.callPackage ../applications/networking/browsers/qutebrowser { };
pkgs_ = pkgs.extend(_: prev: {
pythonInterpreters = prev.pythonInterpreters.override(oldAttrs: {
pkgs = oldAttrs.pkgs.extend(_: _: {
inherit (pkgs) qt5 libsForQt514;
});
});
});
in pkgs_.libsForQt514.callPackage ../applications/networking/browsers/qutebrowser { };
qxw = callPackage ../applications/editors/qxw {}; qxw = callPackage ../applications/editors/qxw {};
@ -23031,7 +23060,7 @@ in
rapcad = libsForQt514.callPackage ../applications/graphics/rapcad { boost = boost159; }; rapcad = libsForQt514.callPackage ../applications/graphics/rapcad { boost = boost159; };
rapid-photo-downloader = libsForQt514.callPackage ../applications/graphics/rapid-photo-downloader { }; rapid-photo-downloader = libsForQt5.callPackage ../applications/graphics/rapid-photo-downloader { };
rapidsvn = callPackage ../applications/version-management/rapidsvn { }; rapidsvn = callPackage ../applications/version-management/rapidsvn { };
@ -23326,11 +23355,11 @@ in
curaengine = callPackage ../applications/misc/curaengine { inherit (python3.pkgs) libarcus; }; curaengine = callPackage ../applications/misc/curaengine { inherit (python3.pkgs) libarcus; };
cura = libsForQt514.callPackage ../applications/misc/cura { }; cura = libsForQt5.callPackage ../applications/misc/cura { };
curaPlugins = callPackage ../applications/misc/cura/plugins.nix { }; curaPlugins = callPackage ../applications/misc/cura/plugins.nix { };
curaLulzbot = libsForQt514.callPackage ../applications/misc/cura/lulzbot/default.nix { }; curaLulzbot = libsForQt5.callPackage ../applications/misc/cura/lulzbot/default.nix { };
curaByDagoma = callPackage ../applications/misc/curabydagoma { }; curaByDagoma = callPackage ../applications/misc/curabydagoma { };
@ -24050,7 +24079,7 @@ in
webcamoid = libsForQt514.callPackage ../applications/video/webcamoid { }; webcamoid = libsForQt514.callPackage ../applications/video/webcamoid { };
webmacs = libsForQt514.callPackage ../applications/networking/browsers/webmacs {}; webmacs = libsForQt5.callPackage ../applications/networking/browsers/webmacs {};
webtorrent_desktop = callPackage ../applications/video/webtorrent_desktop {}; webtorrent_desktop = callPackage ../applications/video/webtorrent_desktop {};

View File

@ -4050,6 +4050,8 @@ in {
nose-focus = callPackage ../development/python-modules/nose-focus { }; nose-focus = callPackage ../development/python-modules/nose-focus { };
nose-timer = callPackage ../development/python-modules/nose-timer { };
nosejs = callPackage ../development/python-modules/nosejs { }; nosejs = callPackage ../development/python-modules/nosejs { };
nose-of-yeti = callPackage ../development/python-modules/nose-of-yeti { }; nose-of-yeti = callPackage ../development/python-modules/nose-of-yeti { };