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:
parent
3c5349e8cb
commit
ae9cef7262
|
@ -2,20 +2,23 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "glow";
|
pname = "glow";
|
||||||
version = "0.1.3";
|
version = "0.1.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "charmbracelet";
|
owner = "charmbracelet";
|
||||||
repo = "glow";
|
repo = "glow";
|
||||||
rev = "v${version}";
|
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";
|
description = "Render markdown on the CLI";
|
||||||
maintainers = with lib.maintainers; [ ehmry filalex77 ];
|
homepage = "https://github.com/charmbracelet/glow";
|
||||||
license = lib.licenses.mit;
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ehmry filalex77 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue