b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
28 lines
745 B
Nix
28 lines
745 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "doppler";
|
|
version = "3.42.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dopplerhq";
|
|
repo = "cli";
|
|
rev = version;
|
|
sha256 = "sha256-bIcBn6BjRerbIb+2/own51avbp6rUr4kClrY3iyTKso=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-evG1M0ZHfn9hsMsSncwxF5Hr/VJ7y6Ir0D2gHJaunBo=";
|
|
|
|
ldflags = [ "-X github.com/DopplerHQ/cli/pkg/version.ProgramVersion=v${version}" ];
|
|
|
|
postInstall = ''
|
|
mv $out/bin/cli $out/bin/doppler
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://doppler.com";
|
|
description = "The official CLI for interacting with your Doppler Enclave secrets and configuration";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ lucperkins ];
|
|
};
|
|
}
|