3
0
Fork 0
forked from mirrors/nixpkgs
Arjan Schrijver 2023-02-08 14:26:02 +01:00
parent b0a25c439d
commit cc08236d06

View file

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