2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2017-03-10 16:41:57 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-04-18 15:08:36 +02:00
|
|
|
pname = "sops";
|
|
|
|
version = "3.3.0";
|
2017-03-10 16:41:57 +01:00
|
|
|
|
|
|
|
goPackagePath = "go.mozilla.org/sops";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = version;
|
|
|
|
owner = "mozilla";
|
2019-04-18 15:08:36 +02:00
|
|
|
repo = pname;
|
|
|
|
sha256 = "0h02iy1dfn4874gyj3k07gbw8byb7rngvsi9kjglnad2pkf0pq2d";
|
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;
|
|
|
|
};
|
|
|
|
}
|