mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
gomi: 1.6.1 -> 1.6.2
This commit is contained in:
@@ -6,13 +6,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "gomi";
|
||||
version = "1.6.1";
|
||||
version = "1.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "b4b4r07";
|
||||
repo = "gomi";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Sxf/x29uADkdILrWwdKZhTc1Y7zCJbpMNK6vV/SGF1Q=";
|
||||
hash = "sha256-Ino7jUd9JvX6afvS6ouPHxU42GYfF696m+OS5CSvx5g=";
|
||||
# populate values that require us to use git. By doing this in postFetch we
|
||||
# can delete .git afterwards and maintain better reproducibility of the src.
|
||||
leaveDotGit = true;
|
||||
@@ -29,7 +29,7 @@ buildGoModule (finalAttrs: {
|
||||
subPackages = [ "." ];
|
||||
|
||||
# Add version information fetched from the repository to ldflags.
|
||||
# https://github.com/babarot/gomi/blob/v1.6.1/.goreleaser.yaml#L20-L22
|
||||
# https://github.com/babarot/gomi/blob/v1.6.2/.goreleaser.yaml#L20-L22
|
||||
ldflags = [
|
||||
"-X main.version=v${finalAttrs.version}"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user