Skip to content

Instantly share code, notes, and snippets.

@petersjt014
Created November 13, 2017 00:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petersjt014/148e358d8c5a884fd943d64de4c2eded to your computer and use it in GitHub Desktop.
Save petersjt014/148e358d8c5a884fd943d64de4c2eded to your computer and use it in GitHub Desktop.
file for micro
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "micro-${version}";
version = "1.3.3";
rev = "refs/tags/v${version}";
#buildInputs = [
# go-humanize
# json5
#];
goPackagePath = "github.com/zyedidia/micro";
src = fetchFromGitHub {
owner = "zyedidia";
repo = "micro";
inherit rev;
sha256 = "1rj7l5ignlg3zc6yq2mga32yabc3ql023jhqp9541f4n7mh0bpyw";
};
#goDeps = ./deps.nix;
# lots of deps, don't want to list name/url/hash etc of all of them if avoidable
meta = with stdenv.lib; {
description = "A modern and intuitive terminal-based text editor";
homepage = "https://micro-editor.github.io/";
platforms = platforms.unix;
license = licenses.mit;
maintainers = with maintainers; [ petersjt014 ];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment