depot/third_party/nixpkgs/pkgs/tools/security/sops/default.nix
Default email 2ce5db779a Project import generated by Copybara.
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
2022-05-18 16:49:53 +02:00

27 lines
707 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "sops";
version = "3.7.3";
src = fetchFromGitHub {
rev = "v${version}";
owner = "mozilla";
repo = pname;
sha256 = "sha256-wN1ksLwD4G+fUhvCe+jahh1PojPk6L6tnx1rsc7dz+M=";
};
vendorSha256 = "sha256-8IaE+vhVZkc9QDR6+/3eOSsuf3SYF2upNcCifbqtx14=";
ldflags = [ "-s" "-w" ];
doCheck = false;
meta = with lib; {
homepage = "https://github.com/mozilla/sops";
description = "Mozilla sops (Secrets OPerationS) is an editor of encrypted files";
changelog = "https://github.com/mozilla/sops/raw/v${version}/CHANGELOG.rst";
maintainers = [ maintainers.marsam ];
license = licenses.mpl20;
};
}