mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 06:44:06 +00:00
deepin.gio-qt: 0.0.12 -> 0.0.14
This commit is contained in:
parent
c4a0a122c0
commit
03f5c8cf80
@ -13,15 +13,22 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gio-qt";
|
||||
version = "0.0.12";
|
||||
version = "0.0.14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-/wLaVR31T+EcT6D5Cw0QIjZasioPWC74KNmt1tckwXk=";
|
||||
hash = "sha256-qDkkLqGsrw+otUy3/iZJJZ2RtpNYPGc/wktdVpw2weg=";
|
||||
};
|
||||
|
||||
# Upstream compiles both qt5 and qt6 versions, which is not possible in nixpkgs
|
||||
# because of the conflict between qt5 hooks and qt6 hooks
|
||||
postPatch = ''
|
||||
substituteInPlace {gio-qt,qgio-tools}/CMakeLists.txt \
|
||||
--replace "include(qt6.cmake)" " "
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
|
Loading…
Reference in New Issue
Block a user