cutter: fix build against PySide 6.8 (#359245)

This commit is contained in:
Aleksana 2024-11-27 19:35:50 +08:00 committed by GitHub
commit e1f3e7b0d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,6 @@
{ lib
, fetchFromGitHub
, fetchpatch
, stdenv
# for passthru.plugins
, pkgs
@ -32,6 +33,14 @@ let cutter = stdenv.mkDerivation rec {
fetchSubmodules = true;
};
patches = [
# https://github.com/rizinorg/cutter/issues/3384
(fetchpatch {
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/rz-cutter/-/raw/f736a5709c0b4711760f8242fa77eeaf178c0302/pyside-6.8.patch";
hash = "sha256-k1Bn6tCNkbE9r5QLfJTBg1zZZU9R7fG1tyfPgSJyQgg=";
})
];
nativeBuildInputs = [
cmake
pkg-config