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

23 lines
587 B
Nix
Raw Normal View History

{ stdenv, buildGoModule, fetchFromGitHub }:
2017-03-10 16:41:57 +01:00
buildGoModule rec {
2019-04-18 15:08:36 +02:00
pname = "sops";
2019-11-22 10:20:00 +01:00
version = "3.5.0";
2017-03-10 16:41:57 +01:00
src = fetchFromGitHub {
2019-11-22 10:20:00 +01:00
rev = "v${version}";
2017-03-10 16:41:57 +01:00
owner = "mozilla";
2019-04-18 15:08:36 +02:00
repo = pname;
2019-11-22 10:20:00 +01:00
sha256 = "1515bk0fl0pvdkp402l51gdg63bmqlh89sglss6prc1qqvv5v2xy";
2017-03-10 16:41:57 +01:00
};
2019-11-22 10:20:00 +01:00
modSha256 = "0vhxd3dschj5i9sig6vpxzbl59cas1qa843akzmjnfjrrafb916y";
2017-03-10 16:41:57 +01:00
meta = with stdenv.lib; {
homepage = "https://github.com/mozilla/sops";
2017-03-10 16:41:57 +01:00
description = "Mozilla sops (Secrets OPerationS) is an editor of encrypted files";
2019-06-11 23:20:00 +02:00
maintainers = [ maintainers.marsam ];
2017-03-10 16:41:57 +01:00
license = licenses.mpl20;
};
}