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: 3c5349e8cbf8
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ae9cef7262bb
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jan 6, 2020

  1. glow: 0.1.3 -> 0.1.6

    - Add buildFlagsArray to support --version
    - Refactor some meta attributes to look more uniform
    Br1ght0ne authored and ehmry committed Jan 6, 2020
    Copy the full SHA
    ae9cef7 View commit details
Showing with 9 additions and 6 deletions.
  1. +9 −6 pkgs/applications/editors/glow/default.nix
15 changes: 9 additions & 6 deletions pkgs/applications/editors/glow/default.nix
Original file line number Diff line number Diff line change
@@ -2,20 +2,23 @@

buildGoModule rec {
pname = "glow";
version = "0.1.3";
version = "0.1.6";

src = fetchFromGitHub {
owner = "charmbracelet";
repo = "glow";
rev = "v${version}";
sha256 = "16zadrp42y01hi83hg47cw6c9zpw8z4xfssb5pxkmd2ynihaxfv5";
sha256 = "0q35napi1aa6dfrqz26hvhzijymb9sxsf3mrrn1mh7ssgkhvmqqc";
};

modSha256 = "1q67j9wg0kgb41zjgdbcrywxbwh597n8shwnwgl2xa6f7fvzpr4f";
modSha256 = "07imn9p0s79x1h45dk05hjcm6946d84j6k5pnljqrz4zk64hy26c";

meta = src.meta // {
buildFlagsArray = [ "-ldflags=" "-X=main.Version=${version}" ];

meta = with lib; {
description = "Render markdown on the CLI";
maintainers = with lib.maintainers; [ ehmry filalex77 ];
license = lib.licenses.mit;
homepage = "https://github.com/charmbracelet/glow";
license = licenses.mit;
maintainers = with maintainers; [ ehmry filalex77 ];
};
}