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

23 lines
590 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";
2020-07-16 13:10:45 +01:00
version = "3.6.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;
2020-07-16 13:10:45 +01:00
sha256 = "01skk6vdfki4a88z0snl1pby09im406qhnsfa0d2l8gp6nz8pq6j";
2017-03-10 15:41:57 +00:00
};
2020-07-16 13:10:45 +01:00
vendorSha256 = "0475y95qma5m346ng898n80xv2rxzndx89c9ygjcvjs513yzcba2";
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;
};
}