ci_: add go-generate-fast to nix
This commit is contained in:
parent
7a23ac59c4
commit
5f1218cdd9
|
@ -56,6 +56,7 @@ in rec {
|
|||
go-modvendor = callPackage ./pkgs/go-modvendor { };
|
||||
cc-test-reporter = callPackage ./pkgs/cc-test-reporter { };
|
||||
codecov-cli = callPackage ./pkgs/codecov-cli { };
|
||||
go-generate-fast = callPackage ./pkgs/go-generate-fast { };
|
||||
|
||||
gomobile = (prev.gomobile.overrideAttrs (old: {
|
||||
patches = [
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
{ buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "go-generate-fast";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub rec {
|
||||
owner = "oNaiPs";
|
||||
repo = "go-generate-fast";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-UXN5gN1SNv3uvBCliJQ+5PSGHRL7RyU6pmZtGUTFsrQ=";
|
||||
};
|
||||
vendorHash = "sha256-jUlK/A0HxBrIby2C0zYFtnxQX1bgKVyypI3QdH4u/rg=";
|
||||
}
|
|
@ -21,7 +21,7 @@ in pkgs.mkShell {
|
|||
|
||||
buildInputs = with pkgs; [
|
||||
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
|
||||
] ++ lib.optionals (stdenv.isDarwin) [ xcodeWrapper ];
|
||||
|
||||
|
|
Loading…
Reference in New Issue