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

26 lines
681 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.0";
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 = "1a0v1jgbz8n3dymzr2shg2ms9sxjwaci209ldzq8v4g737v10zgm";
2017-03-10 15:41:57 +00:00
};
vendorSha256 = "1qaml2h3c8fhmi8ahp2fmd0hagqp5xqaf8jxjh4mfmbv2is3yz1l";
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;
};
}