2017-03-10 16:41:57 +01:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "sops-${version}";
|
2018-02-21 16:36:30 +01:00
|
|
|
version = "3.0.2";
|
2017-03-10 16:41:57 +01:00
|
|
|
|
|
|
|
goPackagePath = "go.mozilla.org/sops";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = version;
|
|
|
|
owner = "mozilla";
|
|
|
|
repo = "sops";
|
2018-02-21 16:36:30 +01:00
|
|
|
sha256 = "0zszlb35cmw9j9dg1bpcbwxwh094wcfxhas4ns58jp5n79rqwv9i";
|
2017-03-10 16:41:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Mozilla sops (Secrets OPerationS) is an editor of encrypted files";
|
|
|
|
homepage = https://github.com/mozilla/sops;
|
|
|
|
license = licenses.mpl20;
|
|
|
|
};
|
|
|
|
}
|