Skip to content

Commit

Permalink
Merge pull request #253534 from reckenrode/pyside6-fix
Browse files Browse the repository at this point in the history
python3Packages.{shiboken,pyside}6: 6.5.0 -> 6.5.2
  • Loading branch information
wegank authored Sep 6, 2023
2 parents ebe4415 + 0b97588 commit 07eab2e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/pyside6/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ stdenv.mkDerivation rec {

inherit (shiboken6) version src;

sourceRoot = "pyside-setup-everywhere-src-${lib.versions.majorMinor version}/sources/${pname}";
sourceRoot = "pyside-setup-everywhere-src-${version}/sources/${pname}";

# FIXME: cmake/Macros/PySideModules.cmake supposes that all Qt frameworks on macOS
# reside in the same directory as QtCore.framework, which is not true for Nix.
Expand Down
11 changes: 7 additions & 4 deletions pkgs/development/python-modules/shiboken6/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,20 @@
, libxcrypt
}:

llvmPackages.stdenv.mkDerivation rec {
let
stdenv' = if stdenv.cc.isClang then stdenv else llvmPackages.stdenv;
in
stdenv'.mkDerivation rec {
pname = "shiboken6";
version = "6.5.0";
version = "6.5.2";

src = fetchurl {
# https://download.qt.io/official_releases/QtForPython/shiboken6/
url = "https://download.qt.io/official_releases/QtForPython/shiboken6/PySide6-${version}-src/pyside-setup-everywhere-src-${version}.tar.xz";
sha256 = "sha256-bvU7KRJyZ+OBkX5vk5nOdg7cBkTNWDGYix3nLJ1YOrQ=";
sha256 = "sha256-kNvx0U/NQcmKfL6kS4pJUeENC3mOFUdJdW5JRmVNG6g";
};

sourceRoot = "pyside-setup-everywhere-src-${lib.versions.majorMinor version}/sources/${pname}";
sourceRoot = "pyside-setup-everywhere-src-${version}/sources/${pname}";

patches = [
./fix-include-qt-headers.patch
Expand Down

0 comments on commit 07eab2e

Please sign in to comment.