d5f4a57cbf
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
30 lines
635 B
Nix
30 lines
635 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "zitadel-tools";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zitadel";
|
|
repo = "zitadel-tools";
|
|
rev = "v${version}";
|
|
hash = "sha256-yKSpWvv/xW7ID0KhPIsrZOEWuuhEqpJuiswqO71ooEw=";
|
|
};
|
|
|
|
vendorHash = "sha256-ZS8m3zjLWvX3kFty2jpObw+rfyozJ3yDfZBcFCdD96U=";
|
|
|
|
ldflags = [
|
|
"-s" "-w"
|
|
"-X main.version=${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Helper tools for zitadel";
|
|
homepage = "https://github.com/zitadel/zitadel-tools";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ janik ];
|
|
};
|
|
}
|