Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 09c473640541
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cd3bc38f40db
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Apr 18, 2020

  1. micro: 1.4.1 -> 2.0.3

    Milan Pässler committed Apr 18, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    58d1654 View commit details
  2. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    cd3bc38 View commit details
Showing with 341 additions and 3 deletions.
  1. +5 −3 pkgs/applications/editors/micro/default.nix
  2. +336 −0 pkgs/applications/editors/micro/deps.nix
8 changes: 5 additions & 3 deletions pkgs/applications/editors/micro/default.nix
Original file line number Diff line number Diff line change
@@ -2,21 +2,23 @@

buildGoPackage rec {
pname = "micro";
version = "1.4.1";
version = "2.0.3";

goPackagePath = "github.com/zyedidia/micro";

src = fetchFromGitHub {
owner = "zyedidia";
repo = "micro";
rev = "v${version}";
sha256 = "0m9p6smb5grdazsgr3m1x4rry9ihhlgl9ildhvfp53czrifbx0m5";
sha256 = "017m9kb3gfrgzd06f1nma1i3m5rb0hzpgdikb86lsyv8ik18y12z";
fetchSubmodules = true;
};

subPackages = [ "cmd/micro" ];

buildFlagsArray = [ "-ldflags=" "-X main.Version=${version}" ];
buildFlagsArray = [ "-ldflags=" "-X ${goPackagePath}/internal/util.Version=${version}" ];

goDeps = ./deps.nix;

meta = with stdenv.lib; {
homepage = "https://micro-editor.github.io";
336 changes: 336 additions & 0 deletions pkgs/applications/editors/micro/deps.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.