flyctl: 0.1.104 -> 0.1.117

Update tags and build info handling
This commit is contained in:
Stanisław Pitucha 2023-11-04 22:10:16 +11:00
parent 880c206efc
commit 6a551a4a86

View file

@ -2,26 +2,25 @@
buildGoModule rec {
pname = "flyctl";
version = "0.1.104";
version = "0.1.117";
src = fetchFromGitHub {
owner = "superfly";
repo = "flyctl";
rev = "v${version}";
hash = "sha256-iTizgA3MtcG6YN7aHaZF4UXT6jBKodsMxXG61UgDNaQ=";
hash = "sha256-cB1t7TKAqHuzbvrXkOMJPXtNXTqNB/TBDS3OHYX96ko=";
};
vendorHash = "sha256-5Nu9XpYjlZHGazWTK7LmfnEGgewKa017PLHtV9HycD0=";
vendorHash = "sha256-+mCOSgRmvfAXHwtLup3vYhLY0zTtXIJeOtYD69B4/7o=";
subPackages = [ "." ];
ldflags = [
"-s" "-w"
"-X github.com/superfly/flyctl/internal/buildinfo.commit=${src.rev}"
"-X github.com/superfly/flyctl/internal/buildinfo.buildDate=1970-01-01T00:00:00Z"
"-X github.com/superfly/flyctl/internal/buildinfo.environment=production"
"-X github.com/superfly/flyctl/internal/buildinfo.version=${version}"
"-X github.com/superfly/flyctl/internal/buildinfo.buildVersion=${version}"
];
tags = ["production"];
nativeBuildInputs = [ installShellFiles ];