Merge pull request #215320 from arjan-s/oh-my-posh-14.2.3

oh-my-posh: 13.8.0 -> 14.2.3
This commit is contained in:
figsoda 2023-02-08 10:24:49 -05:00 committed by GitHub
commit 263a15e1c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,16 +6,16 @@
buildGoModule rec { buildGoModule rec {
pname = "oh-my-posh"; pname = "oh-my-posh";
version = "13.8.0"; version = "14.2.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jandedobbeleer"; owner = "jandedobbeleer";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-mplWF/lmgRfYd1Gg2loZI5NIfmTHR8quG1/KcZj5W54="; hash = "sha256-PghWKyZG19MVmc2fQSQN/BCMbF7YOZWybUSKiQzUxl8=";
}; };
vendorHash = "sha256-WiH4qu8DODEhAkxUm6VDcBwFyQO7kNjaiaWPDHCHj9E="; vendorHash = "sha256-ehG71B351u+LoXDuKQkuEdEpUdHslVU2HcPKUz6FAnQ=";
sourceRoot = "source/src"; sourceRoot = "source/src";
@ -35,6 +35,11 @@ buildGoModule rec {
"static_build" "static_build"
]; ];
postPatch = ''
# this test requires internet access
rm engine/migrate_glyphs_test.go
'';
postInstall = '' postInstall = ''
mv $out/bin/{src,oh-my-posh} mv $out/bin/{src,oh-my-posh}
mkdir -p $out/share/oh-my-posh mkdir -p $out/share/oh-my-posh