depot/third_party/nixpkgs/pkgs/development/tools/wire/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

24 lines
635 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "wire";
version = "0.5.0";
src = fetchFromGitHub {
owner = "google";
repo = "wire";
rev = "v${version}";
sha256 = "sha256-9xjymiyPFMKbysgZULmcBEMI26naUrLMgTA+d7Q+DA0=";
};
vendorHash = "sha256-ZFUX4LgPte6oAf94D82Man/P9VMpx+CDNCTMBwiy9Fc=";
subPackages = [ "cmd/wire" ];
meta = with lib; {
homepage = "https://github.com/google/wire";
description = "A code generation tool that automates connecting components using dependency injection";
license = licenses.asl20;
maintainers = with maintainers; [ svrana ];
};
}