depot/third_party/nixpkgs/pkgs/tools/security/doppler/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

28 lines
744 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "doppler";
version = "3.40.1";
src = fetchFromGitHub {
owner = "dopplerhq";
repo = "cli";
rev = version;
sha256 = "sha256-OVfclCkyFw9GO7sGjId40vrmnt4oyHjNYZBNFjyYFUc=";
};
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 configuation";
license = licenses.asl20;
maintainers = with maintainers; [ lucperkins ];
};
}