Merge pull request #33533 from dtzWill/feature/micro

micro: init at 1.3.4
This commit is contained in:
Peter Hoeg 2018-01-08 10:31:54 +08:00 committed by GitHub
commit 67d93902e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "micro-${version}";
version = "1.3.4";
goPackagePath = "github.com/zyedidia/micro";
src = fetchFromGitHub {
owner = "zyedidia";
repo = "micro";
rev = "v${version}";
sha256 = "1giyp2xk2rb6vdyfnj5wa7qb9fwbcmmwm16wdlnmq7xnp7qamdkw";
fetchSubmodules = true;
};
subPackages = [ "cmd/micro" ];
buildFlagsArray = [ "-ldflags=" "-X main.Version=${version}" ];
meta = with stdenv.lib; {
homepage = https://micro-editor.github.io;
description = "Modern and intuitive terminal-based text editor";
license = licenses.mit;
maintainers = with maintainers; [ dtzWill ];
};
}

View File

@ -16253,6 +16253,8 @@ with pkgs;
mythtv = callPackage ../applications/video/mythtv { };
micro = callPackage ../applications/editors/micro { };
nano = callPackage ../applications/editors/nano { };
nanoblogger = callPackage ../applications/misc/nanoblogger { };