glow: 0.1.3 -> 0.1.6

- Add buildFlagsArray to support --version
- Refactor some meta attributes to look more uniform
This commit is contained in:
Oleksii Filonenko 2020-01-06 15:58:52 +02:00 committed by Emery Hemingway
parent 3c5349e8cb
commit ae9cef7262

View File

@ -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 ];
};
}