1{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
2
3buildGoPackage rec {
4 name = "sops-${version}";
5 version = "3.0.2";
6
7 goPackagePath = "go.mozilla.org/sops";
8
9 src = fetchFromGitHub {
10 rev = version;
11 owner = "mozilla";
12 repo = "sops";
13 sha256 = "0zszlb35cmw9j9dg1bpcbwxwh094wcfxhas4ns58jp5n79rqwv9i";
14 };
15
16 meta = with stdenv.lib; {
17 description = "Mozilla sops (Secrets OPerationS) is an editor of encrypted files";
18 homepage = https://github.com/mozilla/sops;
19 license = licenses.mpl20;
20 };
21}