forked from mirrors/nixpkgs
252244a9fd
* doppler: 3.41.0 -> 3.42.0 * doppler: fix typo in description Co-authored-by: superherointj <5861043+superherointj@users.noreply.github.com>
29 lines
745 B
Nix
29 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 ];
|
|
};
|
|
}
|