Merge pull request #253791 from aaronjheng/micro
micro: 2.0.11 -> 2.0.12
This commit is contained in:
commit
21002df80e
|
@ -2,21 +2,21 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "micro";
|
||||
version = "2.0.11";
|
||||
version = "2.0.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zyedidia";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-3Rppi8UcAc4zdXOd81Y+sb5Psezx2TQsNw73WdPVMgE=";
|
||||
hash = "sha256-L8yJE3rjNcx+1gawQ8urZcFfoQdO20E67mJQjWaVwVo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-h00s+xqepj+odKAgf54s35xMnnj3gtx5LWDOYFx5GY0=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
subPackages = [ "cmd/micro" ];
|
||||
|
||||
vendorSha256 = "sha256-/bWIn5joZOTOtuAbljOc0NgBfjrFkbFZih+cPNHnS9w=";
|
||||
|
||||
ldflags = let t = "github.com/zyedidia/micro/v2/internal"; in [
|
||||
"-s"
|
||||
"-w"
|
||||
|
@ -34,7 +34,7 @@ buildGoModule rec {
|
|||
install -Dm644 assets/micro-logo-mark.svg $out/share/icons/hicolor/scalable/apps/micro.svg
|
||||
'';
|
||||
|
||||
passthru.tests.expect = callPackage ./test-with-expect.nix {};
|
||||
passthru.tests.expect = callPackage ./test-with-expect.nix { };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://micro-editor.github.io";
|
||||
|
|
Loading…
Reference in a new issue