Siddarth Kumar bce7f7d3d0 ci: upgrade go to 1.22
This commit:
- updates status-go to point to https://github.com/status-im/status-go/pull/6258
- updates nix derivation to switch to go 1.22
- swaps `sc3md` for `sc5md`
- updates docker image used by jenkins for linux jobs to image built with go 1.22.
- updates, linux, windows and MacOS build scripts to use go 1.22
2025-02-17 22:35:28 +05:30

35 lines
870 B
Nix

{ buildGo122Module, fetchFromGitHub, lib }:
buildGo122Module rec {
pname = "mockgen";
version = "0.4.0";
src = fetchFromGitHub {
owner = "uber-go";
repo = "mock";
rev = "v${version}";
sha256 = "sha256-3nt70xrZisK5vgQa+STZPiY4F9ITKw8PbBWcKoBn4Vc=";
};
vendorHash = "sha256-mcNVud2jzvlPPQEaar/eYZkP71V2Civz+R5v10+tewA=";
CGO_ENABLED = 0;
subPackages = [ "mockgen" ];
ldflags = [
"-X=main.version=${version}"
"-X=main.date=1970-01-01T00:00:00Z"
"-X=main.commit=unknown"
];
meta = with lib; {
description = "GoMock is a mocking framework for the Go programming language";
homepage = "https://github.com/uber-go/mock";
changelog = "https://github.com/uber-go/mock/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ bouk ];
mainProgram = "mockgen";
};
}