micro: 2.0.12 -> 2.0.13

Diff: https://github.com/zyedidia/micro/compare/v2.0.12...v2.0.13

Also make desktop entry non-executable
This commit is contained in:
Peder Bergebakken Sundt 2023-10-22 02:05:41 +02:00
parent 0636f5e7cf
commit 50c613d926

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "micro"; pname = "micro";
version = "2.0.12"; version = "2.0.13";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zyedidia"; owner = "zyedidia";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-L8yJE3rjNcx+1gawQ8urZcFfoQdO20E67mJQjWaVwVo="; hash = "sha256-fe+7RkUwCveBk14bYzg5uLGOqTVVJsrqixBQhCS79hY=";
}; };
vendorHash = "sha256-h00s+xqepj+odKAgf54s35xMnnj3gtx5LWDOYFx5GY0="; vendorHash = "sha256-ePhObvm3m/nT+7IyT0W6K+y+9UNkfd2kYjle2ffAd9Y=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@ -30,7 +30,7 @@ buildGoModule rec {
postInstall = '' postInstall = ''
installManPage assets/packaging/micro.1 installManPage assets/packaging/micro.1
install -Dt $out/share/applications assets/packaging/micro.desktop install -Dm444 -t $out/share/applications assets/packaging/micro.desktop
install -Dm644 assets/micro-logo-mark.svg $out/share/icons/hicolor/scalable/apps/micro.svg install -Dm644 assets/micro-logo-mark.svg $out/share/icons/hicolor/scalable/apps/micro.svg
''; '';