Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
98e6fdd
python3.pkgs.sip: 4.19.22 -> 4.19.24
doronbehar Oct 7, 2020
0331c39
python3.pkgs.pyqt5: 5.14.2 -> 5.15.1
doronbehar Oct 7, 2020
edac19f
pythonPackages: use current qt5 instead of 5.14
FRidh Oct 7, 2020
4bccbd9
qutebrowser: minor fixup regarding use of qt 514
FRidh Oct 7, 2020
15bfdf8
pythonPackages.pyqtwebengine: Apply qt5.14 patch only if needed
doronbehar Oct 7, 2020
1561163
carla: 2.1.1 -> 2.2.0 and use the default qt515
FRidh Oct 7, 2020
2d238fc
calibre-py{2,3}: Use libsForQt5 - same is used in python-packages.nix
doronbehar Oct 7, 2020
198e025
retext: Fix build by using default qt5.15.
doronbehar Oct 7, 2020
5cbf0c1
ffado: Use libsForQt5 (not 514)
doronbehar Oct 7, 2020
f3e5c93
cura, curaLulzbot: Use qt5.15
doronbehar Oct 8, 2020
2edd4ed
electron-cash: 4.1.0 -> 4.1.1
doronbehar Oct 8, 2020
cd5b560
python3.pkgs.nose-timer: init at 1.0.0
doronbehar Oct 8, 2020
36b7e89
python3.pkgs.androguard: rewrite
doronbehar Oct 8, 2020
56d047f
dupeguru: Don't override qt5 version.
doronbehar Oct 8, 2020
bc0113e
electrum-ltc: Use default qt5.15.
doronbehar Oct 8, 2020
16c2b3c
cq-editor: Use qt5.15 completely.
doronbehar Oct 8, 2020
3d8267e
flent: Use qt5.15 just like pyqt5 use in it (#99956)
doronbehar Oct 8, 2020
62738d4
friture: Use qt5.15 just like pyqt5
doronbehar Oct 8, 2020
f4b8c8f
git-annex-metadata-gui: fix qt wrapping
doronbehar Oct 8, 2020
244ef6c
freecad: Use libsForQt5 and not qt5.14
doronbehar Oct 8, 2020
faedc6a
libsForQt5.pulseaudio-qt: init at 1.2.0
doronbehar Oct 8, 2020
8b16b8c
libsForQt5.kpeoplevcard: init at 0.1
doronbehar Oct 8, 2020
883b21d
vorta: Fix double wrapping
doronbehar Oct 8, 2020
2aff7cf
krita: Use qt5.15 - same as pyqt5 in it (#99956)
doronbehar Oct 8, 2020
32a362b
gmic-qt-krita: Use qt5.15 - as used by `krita` (#99956)
doronbehar Oct 8, 2020
aa20203
inkcut: Use qt5.15, as pyqt5 in it (#99956)
doronbehar Oct 8, 2020
36caf7e
kcc: Use qt5.15, as pyqt5 in it (#99956)
doronbehar Oct 8, 2020
9abf6cb
kmymoney: Use qt5.15, as python weboob in it (#99956)
doronbehar Oct 8, 2020
dfec61e
leo-editor: Use qt5.15, as pyqt5 in it (#99956)
doronbehar Oct 8, 2020
a9a2cc9
manuskript: Use qt5.15, as pyqt5 in it (#99956)
doronbehar Oct 8, 2020
8b8febd
qarte: Use qt5.15, as pyqt5 in it (#99956)
doronbehar Oct 8, 2020
0cbd755
qnotero: Use qt5.15, as pyqt5 in it (#99956)
doronbehar Oct 8, 2020
38d517f
qpaeq: Use qt5.15, as pyqt5 in it (#99956)
doronbehar Oct 8, 2020
1fa7655
rapid-photo-downloader: Use qt5.15, as pyqt5 in it (#99956)
doronbehar Oct 8, 2020
179986f
webmacs: Use qt5.15, as pyqt5 in it (#99956)
doronbehar Oct 8, 2020
ae37cb3
qscintilla: 2.11.2 -> 2.11.5, fix license
FRidh Oct 8, 2020
084c4da
qgis: 3.10.9 -> 3.10.10
FRidh Oct 8, 2020
9311134
qgis: consistently use qt 5.14
FRidh Oct 8, 2020
64388b5
cadence: use qt 5.14 consistently
FRidh Oct 8, 2020
b9af2d2
dupeguru: mark as broken
FRidh Oct 8, 2020
902c567
qutebrowser: use current qt (5.15) again instead of 5.14
FRidh Oct 8, 2020
5d4117b
openshot-qt: consustently use qt 5.14
FRidh Oct 8, 2020
c0d5cf4
puddletag: mark broken
FRidh Oct 8, 2020
6b6f680
kdoctools, kapidox: Remove out of top-level scope
doronbehar Oct 8, 2020
dfcde03
kdeconnect: 1.3.5 -> 20.08.1
doronbehar Oct 8, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkgs/applications/audio/carla/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ assert withGtk3 -> gtk3 != null;

stdenv.mkDerivation rec {
pname = "carla";
version = "2.1.1";
version = "2.2.0";

src = fetchFromGitHub {
owner = "falkTX";
repo = pname;
rev = "v${version}";
sha256 = "0c3y4a6cgi4bv1mg57i3qn5ia6pqjqlaylvkapj6bmpsw71ig22g";
sha256 = "B4xoRuNEW4Lz9haP8fqxOTcysGTNEXFOq9UXqUJLSFw=";
};

nativeBuildInputs = [
Expand Down
5 changes: 2 additions & 3 deletions pkgs/applications/audio/friture/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ in py.buildPythonApplication rec {
./unlock_constraints.patch
];

postFixup = ''
wrapQtApp $out/bin/friture
wrapQtApp $out/bin/.friture-wrapped
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';

meta = with lib; {
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/puddletag/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ python3Packages.buildPythonApplication rec {
license = licenses.gpl3;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux;
broken = true; # Needs Qt wrapping
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/backup/vorta/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ buildPythonApplication rec {
# QT setup in tests broken.
doCheck = false;

postFixup = ''
wrapQtApp $out/bin/vorta
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';

meta = with lib; {
Expand Down
6 changes: 4 additions & 2 deletions pkgs/applications/editors/retext/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ in python.pkgs.buildPythonApplication {
propagatedBuildInputs = [ pythonEnv ];

postInstall = ''
wrapQtApp "$out/bin/retext" \
--set ASPELL_CONF "dict-dir ${buildEnv {
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
makeWrapperArgs+=(
"--set" "ASPELL_CONF" "dict-dir ${buildEnv {
name = "aspell-all-dicts";
paths = map (path: "${path}/lib/aspell") enchantAspellDicts;
}}"
)
'';

meta = with stdenv.lib; {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/gis/qgis/unwrapped.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ let
[ qscintilla-qt5 gdal jinja2 numpy psycopg2
chardet dateutil pyyaml pytz requests urllib3 pygments pyqt5 sip owslib six ];
in mkDerivation rec {
version = "3.10.9";
version = "3.10.10";
pname = "qgis";
name = "${pname}-unwrapped-${version}";

src = fetchFromGitHub {
owner = "qgis";
repo = "QGIS";
rev = "final-${lib.replaceStrings ["."] ["_"] version}";
sha256 = "0d646hvrhhgsw789qc2g3iblmsvr64qh15jck1jkaljzrj3qbml6";
sha256 = "yZBG+bpJA7iKkUEjVo45d+bmRp9WS7mk8z96FLf0ZQ0=";
};

passthru = {
Expand Down
6 changes: 4 additions & 2 deletions pkgs/applications/graphics/cq-editor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, mkDerivationWith
, python3Packages
, fetchFromGitHub
, wrapQtAppsHook
}:

mkDerivationWith python3Packages.buildPythonApplication rec {
Expand All @@ -27,8 +28,9 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
requests
];

postFixup = ''
wrapQtApp "$out/bin/cq-editor"
nativeBuildInputs = [ wrapQtAppsHook ];
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';

checkInputs = with python3Packages; [
Expand Down
9 changes: 5 additions & 4 deletions pkgs/applications/misc/dupeguru/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ python3Packages.buildPythonApplication rec {
# Avoid double wrapping Python programs.
dontWrapQtApps = true;

# TODO: A bug in python wrapper
# see https://github.com/NixOS/nixpkgs/pull/75054#discussion_r357656916
preFixup = ''
# TODO: A bug in python wrapper
# see https://github.com/NixOS/nixpkgs/pull/75054#discussion_r357656916
makeWrapperArgs="''${qtWrapperArgs[@]}"
'';

# Executable in $out/bin is a symlink to $out/share/dupeguru/run.py
# so wrapPythonPrograms hook does not handle it automatically.
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"
'';

Expand All @@ -58,5 +58,6 @@ python3Packages.buildPythonApplication rec {
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = [ maintainers.novoxudonoser ];
broken = true; # mv: cannot stat '_block.cpython-38m*.so': No such file or directory
};
}
21 changes: 7 additions & 14 deletions pkgs/applications/misc/electron-cash/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

python3Packages.buildPythonApplication rec {
pname = "electron-cash";
version = "4.1.0";
version = "4.1.1";

src = fetchFromGitHub {
owner = "Electron-Cash";
repo = "Electron-Cash";
rev = version;
sha256 = "1ccfm6kkmbkvykfdzrisxvr0lx9kgq4l43ixk6v3xnvhnbfwz4s2";
sha256 = "1fllz2s20lg4hrppzmnlgjy9mrq7gaq66l2apb3vz1avzvsjw3gm";
};

propagatedBuildInputs = with python3Packages; [
Expand All @@ -36,15 +36,6 @@ python3Packages.buildPythonApplication rec {

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 = ''
substituteInPlace contrib/requirements/requirements.txt \
--replace "qdarkstyle==2.6.8" "qdarkstyle<3"
Expand All @@ -70,9 +61,11 @@ python3Packages.buildPythonApplication rec {
# Electron Cash was unable to find the secp256k1 library on this system.
# Elliptic curve cryptography operations will be performed in slow
# Python-only mode.
postFixup = ''
wrapQtApp $out/bin/electron-cash \
--prefix LD_LIBRARY_PATH : ${secp256k1}/lib
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
makeWrapperArgs+=(
"--prefix" "LD_LIBRARY_PATH" ":" "${secp256k1}/lib"
)
'';

doInstallCheck = true;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/misc/electrum/ltc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ python3Packages.buildPythonApplication rec {
sed -i '/Created: .*/d' gui/qt/icons_rc.py
'';

postFixup = ''
wrapQtApp $out/bin/electrum-ltc
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';

checkPhase = ''
Expand Down
43 changes: 37 additions & 6 deletions pkgs/applications/misc/kdeconnect/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ mkDerivation
, lib
, fetchurl
, fetchpatch
, extra-cmake-modules
, kcmutils
, kconfigwidgets
Expand All @@ -13,25 +14,55 @@
, libfakekey
, libXtst
, qtx11extras
, qtmultimedia
, qtgraphicaleffects
, sshfs
, makeWrapper
, kwayland
, kio
, kpeoplevcard
, kpeople
, kirigami2
, pulseaudio-qt
}:

mkDerivation rec {
pname = "kdeconnect";
version = "1.3.5";
version = "20.08.1";

src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/${pname}-kde-${version}.tar.xz";
sha256 = "02lr3xx5s2mgddac4n3lkgr7ppf1z5m6ajs90rjix0vs8a271kp5";
url = "https://download.kde.org/stable/release-service/${version}/src/${pname}-kde-${version}.tar.xz";
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 = [
libfakekey libXtst
ki18n kiconthemes kcmutils kconfigwidgets kdbusaddons knotifications
qca-qt5 qtx11extras makeWrapper kwayland kio
libfakekey
libXtst
qtmultimedia
qtgraphicaleffects
pulseaudio-qt
kpeoplevcard
kpeople
kirigami2
ki18n
kiconthemes
kcmutils
kconfigwidgets
kdbusaddons
knotifications
qca-qt5
qtx11extras
makeWrapper
kwayland
kio
];

nativeBuildInputs = [ extra-cmake-modules kdoctools ];
Expand Down
6 changes: 2 additions & 4 deletions pkgs/applications/networking/flent/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ buildPythonApplication rec {
xvfb-run -s '-screen 0 800x600x24' ./test-runner
'';

postInstall = ''
for program in $out/bin/*; do
wrapQtApp $program --prefix PYTHONPATH : $PYTHONPATH
done
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';

meta = with stdenv.lib; {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildPythonApplication, fetchFromGitHub, pyqt5, git-annex-adapter }:
{ stdenv, buildPythonApplication, fetchFromGitHub, pyqt5, qt5, git-annex-adapter }:

buildPythonApplication rec {
pname = "git-annex-metadata-gui";
Expand All @@ -15,6 +15,12 @@ buildPythonApplication rec {
substituteInPlace setup.py --replace "'PyQt5', " ""
'';

nativeBuildInputs = [ qt5.wrapQtAppsHook ];

preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';

propagatedBuildInputs = [ pyqt5 git-annex-adapter ];

meta = with stdenv.lib; {
Expand Down
40 changes: 40 additions & 0 deletions pkgs/development/libraries/kpeoplevcard/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}

35 changes: 35 additions & 0 deletions pkgs/development/libraries/pulseaudio-qt/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
10 changes: 5 additions & 5 deletions pkgs/development/libraries/qscintilla/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@

let
pname = "qscintilla-qt${if withQt5 then "5" else "4"}";
version = "2.11.2";
version = "2.11.5";

in stdenv.mkDerivation rec {
inherit pname version;

src = fetchurl {
url = "https://www.riverbankcomputing.com/static/Downloads/QScintilla/${version}/QScintilla_gpl-${version}.tar.gz";
sha256 = "18glb2v07mwfz6p8qmwhzcaaczyc36x3gn9wx8ndm7q6d93xr6q2";
url = "https://www.riverbankcomputing.com/static/Downloads/QScintilla/${version}/QScintilla-${version}.tar.gz";
sha256 = "k2Hib9f7e1gZp+uSxcGIChjem9PtndLrAI5XOIaWcWs=";
};

sourceRoot = "QScintilla_gpl-${version}/Qt4Qt5";
sourceRoot = "QScintilla-${version}/Qt4Qt5";

buildInputs = [ (if withQt5 then qtbase else qt4) ];

Expand Down Expand Up @@ -63,7 +63,7 @@ in stdenv.mkDerivation rec {
background colours and multiple fonts.
'';
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 ];
platforms = platforms.unix;
};
Expand Down
Loading