about summary refs log tree commit diff
path: root/pkgs/applications/editors/micro
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt <pbsds@hotmail.com>2023-10-22 02:05:41 +0200
committerPeder Bergebakken Sundt <pbsds@hotmail.com>2023-10-22 02:10:06 +0200
commit50c613d926675d1b4aaff04c4d18a102f573e449 (patch)
treec8e67fc4a3e0e8932f2ce44e01321fd2d86bb89b /pkgs/applications/editors/micro
parent0636f5e7cf5153fdeb66c98e9e02a22bc7493f10 (diff)
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
Diffstat (limited to 'pkgs/applications/editors/micro')
-rw-r--r--pkgs/applications/editors/micro/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/editors/micro/default.nix b/pkgs/applications/editors/micro/default.nix
index 964c81a6c4248..31ac4567b61fb 100644
--- a/pkgs/applications/editors/micro/default.nix
+++ b/pkgs/applications/editors/micro/default.nix
@@ -2,16 +2,16 @@
 
 buildGoModule rec {
   pname = "micro";
-  version = "2.0.12";
+  version = "2.0.13";
 
   src = fetchFromGitHub {
     owner = "zyedidia";
     repo = pname;
     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 ];
 
@@ -30,7 +30,7 @@ buildGoModule rec {
 
   postInstall = ''
     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
   '';