summary refs log tree commit diff
path: root/pkgs/tools/security/sops/default.nix
blob: bbcfc4c78907f0743f8618e027bb5b1e74dabd73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "sops-${version}";
  version = "3.0.2";

  goPackagePath = "go.mozilla.org/sops";

  src = fetchFromGitHub {
    rev = version;
    owner = "mozilla";
    repo = "sops";
    sha256 = "0zszlb35cmw9j9dg1bpcbwxwh094wcfxhas4ns58jp5n79rqwv9i";
  };

  meta = with stdenv.lib; {
    description = "Mozilla sops (Secrets OPerationS) is an editor of encrypted files";
    homepage = https://github.com/mozilla/sops;
    license = licenses.mpl20;
  };
}