mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
lxqt.libqtxdg: 4.1.0 -> 4.2.0
Diff: https://github.com/lxqt/libqtxdg/compare/4.1.0...4.2.0
This commit is contained in:
@@ -2,14 +2,13 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
qtbase,
|
||||
qtsvg,
|
||||
lxqt-build-tools,
|
||||
wrapQtAppsHook,
|
||||
gitUpdater,
|
||||
version ? "4.1.0",
|
||||
version ? "4.2.0",
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -23,20 +22,11 @@ stdenv.mkDerivation rec {
|
||||
hash =
|
||||
{
|
||||
"3.12.0" = "sha256-y+3noaHubZnwUUs8vbMVvZPk+6Fhv37QXUb//reedCU=";
|
||||
"4.1.0" = "sha256-Efn08a8MkR459Ww0WiEb5GXKgQzJwKupIdL2TySpivE=";
|
||||
"4.2.0" = "sha256-TSyVYlWsmB/6gxJo+CjROBQaWsmYZAwkM8BwiWP+XBI=";
|
||||
}
|
||||
."${version}";
|
||||
};
|
||||
|
||||
# Fix build with Qt 6.9
|
||||
# FIXME: remove in next release
|
||||
patches = lib.optionals (version == "4.1.0") [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/lxqt/libqtxdg/commit/35ce74f1510a9f41b2aff82fd1eda63014c3fe2b.patch";
|
||||
hash = "sha256-udO3RQkzkcDBCxMNTIsORlDCLsZrxCbi0dXCBRuoQQQ=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
lxqt-build-tools
|
||||
|
||||
Reference in New Issue
Block a user