micro: 1.4.1 -> 2.0.3

This commit is contained in:
Milan Pässler
2020-04-18 19:26:43 +02:00
parent 16a4332d60
commit 58d165420b
2 changed files with 341 additions and 3 deletions
+5 -3
View File
@@ -2,7 +2,7 @@
buildGoPackage rec {
pname = "micro";
version = "1.4.1";
version = "2.0.3";
goPackagePath = "github.com/zyedidia/micro";
@@ -10,13 +10,15 @@ buildGoPackage rec {
owner = "zyedidia";
repo = "micro";
rev = "v${version}";
sha256 = "0m9p6smb5grdazsgr3m1x4rry9ihhlgl9ildhvfp53czrifbx0m5";
sha256 = "017m9kb3gfrgzd06f1nma1i3m5rb0hzpgdikb86lsyv8ik18y12z";
fetchSubmodules = true;
};
subPackages = [ "cmd/micro" ];
buildFlagsArray = [ "-ldflags=" "-X main.Version=${version}" ];
buildFlagsArray = [ "-ldflags=" "-X ${goPackagePath}/internal/util.Version=${version}" ];
goDeps = ./deps.nix;
meta = with stdenv.lib; {
homepage = "https://micro-editor.github.io";