lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #268761 from wegank/wxformbuilder-bump

wxformbuilder: unstable-2023-04-21 -> 4.0.0

authored by

Weijia Wang and committed by
GitHub
fda1c759 6361b223

+13 -6
+13 -6
pkgs/development/tools/wxformbuilder/default.nix
··· 11 11 12 12 stdenv.mkDerivation (finalAttrs: { 13 13 pname = "wxformbuilder"; 14 - version = "unstable-2023-04-21"; 14 + version = "4.0.0"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "wxFormBuilder"; 18 18 repo = "wxFormBuilder"; 19 - rev = "f026a8e1a7f68e794638f637e53845f8f04869ef"; 19 + rev = "v${finalAttrs.version}"; 20 20 fetchSubmodules = true; 21 - hash = "sha256-48J8osSBb5x9b8MYWZ5QGF6rWgwtcJ0PLLAYViDr50M="; 21 + leaveDotGit = true; 22 + postFetch = '' 23 + substituteInPlace $out/.git-properties \ 24 + --replace "\$Format:%h\$" "$(git -C $out rev-parse --short HEAD)" \ 25 + --replace "\$Format:%(describe)\$" "$(git -C $out rev-parse --short HEAD)" 26 + rm -rf $out/.git 27 + ''; 28 + hash = "sha256-Lqta+u9WVwUREsR7aH+2DJn0oM5QwlwRSBImuwNkmS4="; 22 29 }; 23 30 24 31 postPatch = '' 25 - substituteInPlace .git-properties \ 26 - --replace "\$Format:%h\$" "${builtins.substring 0 7 finalAttrs.src.rev}" \ 27 - --replace "\$Format:%(describe)\$" "${builtins.substring 0 7 finalAttrs.src.rev}" 32 + substituteInPlace third_party/tinyxml2/cmake/tinyxml2.pc.in \ 33 + --replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \ 34 + --replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@ 28 35 sed -i '/fixup_bundle/d' cmake/macros.cmake 29 36 ''; 30 37