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

22 lines
589 B
Nix
Raw Normal View History

{ stdenv, buildGoModule, fetchFromGitHub }:
2017-03-10 15:41:57 +00:00
buildGoModule rec {
2019-04-18 14:08:36 +01:00
pname = "sops";
2019-11-22 09:20:00 +00:00
version = "3.5.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 14:08:36 +01:00
repo = pname;
2019-11-22 09:20:00 +00:00
sha256 = "1515bk0fl0pvdkp402l51gdg63bmqlh89sglss6prc1qqvv5v2xy";
2017-03-10 15:41:57 +00:00
};
vendorSha256 = "0yryc799k4563wy53z7amraj89cyprklj0lfv207530hwv5i5gm6";
2017-03-10 15:41:57 +00:00
meta = with stdenv.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";
2019-06-11 22:20:00 +01:00
maintainers = [ maintainers.marsam ];
2017-03-10 15:41:57 +00:00
license = licenses.mpl20;
};
}