mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-09 21:53:24 +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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gio-qt";
|
pname = "gio-qt";
|
||||||
version = "0.0.12";
|
version = "0.0.14";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "linuxdeepin";
|
owner = "linuxdeepin";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
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 = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
pkg-config
|
pkg-config
|
||||||
|
Loading…
Reference in New Issue
Block a user