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

23 lines
587 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
};
2019-11-22 09:20:00 +00:00
modSha256 = "0vhxd3dschj5i9sig6vpxzbl59cas1qa843akzmjnfjrrafb916y";
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;
};
}