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

26 lines
681 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2017-03-10 18:41:57 +03:00
buildGoModule rec {
2019-04-18 16:08:36 +03:00
pname = "sops";
version = "3.7.1";
2017-03-10 18:41:57 +03:00
src = fetchFromGitHub {
2019-11-22 12:20:00 +03:00
rev = "v${version}";
2017-03-10 18:41:57 +03:00
owner = "mozilla";
2019-04-18 16:08:36 +03:00
repo = pname;
sha256 = "0z3jcyl245yjszzjf2h6l1dwa092vxzvfmnivmwi6jvpsdcv33h1";
2017-03-10 18:41:57 +03:00
};
vendorSha256 = "1mnwgsbpi56ql0lbpn7dkaps96x9b1lmhlk5cd6d40da7xj616n7";
doCheck = false;
meta = with lib; {
homepage = "https://github.com/mozilla/sops";
2017-03-10 18:41:57 +03: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-12 00:20:00 +03:00
maintainers = [ maintainers.marsam ];
2017-03-10 18:41:57 +03:00
license = licenses.mpl20;
};
}