2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2017-03-10 16:41:57 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "sops-${version}";
|
2018-11-15 16:02:52 +01:00
|
|
|
version = "3.2.0";
|
2017-03-10 16:41:57 +01:00
|
|
|
|
|
|
|
goPackagePath = "go.mozilla.org/sops";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = version;
|
|
|
|
owner = "mozilla";
|
|
|
|
repo = "sops";
|
2018-11-15 16:02:52 +01:00
|
|
|
sha256 = "0lzwql3f4n70gmw1d0vnsg7hd0ma6ys0a4x54g3jk10nrn2f7wxl";
|
2017-03-10 16:41:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2018-09-15 21:50:37 +02:00
|
|
|
inherit (src.meta) homepage;
|
2017-03-10 16:41:57 +01:00
|
|
|
description = "Mozilla sops (Secrets OPerationS) is an editor of encrypted files";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
};
|
|
|
|
}
|