micro: install man page
This commit is contained in:
parent
2aaef877e3
commit
bc03b771fd
1 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, installShellFiles }:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoPackage rec {
|
||||
pname = "micro";
|
||||
version = "2.0.5";
|
||||
|
||||
|
@ -14,6 +14,8 @@ buildGoPackage rec {
|
|||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
subPackages = [ "cmd/micro" ];
|
||||
|
||||
buildFlagsArray = let t = "${goPackagePath}/internal/util"; in ''
|
||||
|
@ -24,6 +26,10 @@ buildGoPackage rec {
|
|||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
postInstall = ''
|
||||
installManPage $src/assets/packaging/micro.1
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://micro-editor.github.io";
|
||||
description = "Modern and intuitive terminal-based text editor";
|
||||
|
|
Loading…
Reference in a new issue