mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
Merge pull request #33533 from dtzWill/feature/micro
micro: init at 1.3.4
This commit is contained in:
commit
67d93902e4
28
pkgs/applications/editors/micro/default.nix
Normal file
28
pkgs/applications/editors/micro/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -16253,6 +16253,8 @@ with pkgs;
|
|||||||
|
|
||||||
mythtv = callPackage ../applications/video/mythtv { };
|
mythtv = callPackage ../applications/video/mythtv { };
|
||||||
|
|
||||||
|
micro = callPackage ../applications/editors/micro { };
|
||||||
|
|
||||||
nano = callPackage ../applications/editors/nano { };
|
nano = callPackage ../applications/editors/nano { };
|
||||||
|
|
||||||
nanoblogger = callPackage ../applications/misc/nanoblogger { };
|
nanoblogger = callPackage ../applications/misc/nanoblogger { };
|
||||||
|
Loading…
Reference in New Issue
Block a user