ci_: add go-generate-fast to nix (#5890)

fix_: go-generate-fast hashes
This commit is contained in:
Igor Sirotin 2024-09-30 12:53:20 +01:00 committed by Arseniy Klempner
parent 7d6812bd03
commit 7f30263c0e
No known key found for this signature in database
GPG Key ID: 51653F18863BD24B
3 changed files with 18 additions and 1 deletions

View File

@ -56,6 +56,7 @@ in rec {
go-modvendor = callPackage ./pkgs/go-modvendor { }; go-modvendor = callPackage ./pkgs/go-modvendor { };
cc-test-reporter = callPackage ./pkgs/cc-test-reporter { }; cc-test-reporter = callPackage ./pkgs/cc-test-reporter { };
codecov-cli = callPackage ./pkgs/codecov-cli { }; codecov-cli = callPackage ./pkgs/codecov-cli { };
go-generate-fast = callPackage ./pkgs/go-generate-fast { };
gomobile = (prev.gomobile.overrideAttrs (old: { gomobile = (prev.gomobile.overrideAttrs (old: {
patches = [ patches = [

View File

@ -0,0 +1,16 @@
{ buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "go-generate-fast";
version = "0.3.0";
subPackages = [ "." ];
src = fetchFromGitHub rec {
owner = "oNaiPs";
repo = "go-generate-fast";
rev = "v${version}";
hash = "sha256-NMGXOI3y3PGt+hrHhOsugACL8c5LIzpwwdt+Ne0MkY8=";
};
vendorHash = "sha256-8nmnTuDZvnFEPQAxOv19gUgHy6FpI3HLRtqLLob+zrE=";
}

View File

@ -21,7 +21,7 @@ in pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
git jq which git jq which
go golangci-lint go-junit-report gopls go-bindata gomobileMod codecov-cli go golangci-lint go-junit-report gopls go-bindata gomobileMod codecov-cli go-generate-fast
mockgen protobuf3_20 protoc-gen-go gotestsum go-modvendor openjdk cc-test-reporter mockgen protobuf3_20 protoc-gen-go gotestsum go-modvendor openjdk cc-test-reporter
] ++ lib.optionals (stdenv.isDarwin) [ xcodeWrapper ]; ] ++ lib.optionals (stdenv.isDarwin) [ xcodeWrapper ];