nixpkgs/pkgs/tools/security/sops/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
707 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2017-03-10 15:41:57 +00:00
buildGoModule rec {
2019-04-18 13:08:36 +00:00
pname = "sops";
version = "3.7.3";
2017-03-10 15:41:57 +00:00
src = fetchFromGitHub {
2019-11-22 09:20:00 +00:00
rev = "v${version}";
2017-03-10 15:41:57 +00:00
owner = "mozilla";
2019-04-18 13:08:36 +00:00
repo = pname;
sha256 = "sha256-wN1ksLwD4G+fUhvCe+jahh1PojPk6L6tnx1rsc7dz+M=";
2017-03-10 15:41:57 +00:00
};
vendorSha256 = "sha256-8IaE+vhVZkc9QDR6+/3eOSsuf3SYF2upNcCifbqtx14=";
ldflags = [ "-s" "-w" ];
doCheck = false;
meta = with lib; {
homepage = "https://github.com/mozilla/sops";
2017-03-10 15:41:57 +00:00
description = "Mozilla sops (Secrets OPerationS) is an editor of encrypted files";
changelog = "https://github.com/mozilla/sops/raw/v${version}/CHANGELOG.rst";
2019-06-11 21:20:00 +00:00
maintainers = [ maintainers.marsam ];
2017-03-10 15:41:57 +00:00
license = licenses.mpl20;
};
}