evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / ve / vendir / package.nix
blob2e53aa6d35fa50e65003a74d003e634c1cca4e75
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "vendir";
5   version = "0.42.0";
7   src = fetchFromGitHub {
8     owner = "vmware-tanzu";
9     repo = "carvel-vendir";
10     rev = "v${version}";
11     sha256 = "sha256-/lbCSZZQensoPQbzs3ZC3H02CE6V/eOruiqPRS5vlTE=";
12   };
14   vendorHash = null;
16   subPackages = [ "cmd/vendir" ];
18   ldflags = [
19     "-X carvel.dev/vendir/pkg/vendir/version.Version=${version}"
20   ];
22   meta = with lib; {
23     description = "CLI tool to vendor portions of git repos, github releases, helm charts, docker image contents, etc. declaratively";
24     mainProgram = "vendir";
25     homepage = "https://carvel.dev/vendir/";
26     license = licenses.asl20;
27     maintainers = with maintainers; [ russell ];
28   };