2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2017-03-10 15:41:57 +00:00
|
|
|
|
2019-09-13 09:20:00 +00:00
|
|
|
buildGoModule rec {
|
2019-04-18 13:08:36 +00:00
|
|
|
pname = "sops";
|
2022-05-12 04:20:00 +00:00
|
|
|
version = "3.7.3";
|
2017-03-10 15:41:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-11-22 09:20:00 +00:00
|
|
|
rev = "v${version}";
|
2017-03-10 15:41:57 +00:00
|
|
|
owner = "mozilla";
|
2019-04-18 13:08:36 +00:00
|
|
|
repo = pname;
|
2022-05-12 04:20:00 +00:00
|
|
|
sha256 = "sha256-wN1ksLwD4G+fUhvCe+jahh1PojPk6L6tnx1rsc7dz+M=";
|
2017-03-10 15:41:57 +00:00
|
|
|
};
|
|
|
|
|
2022-05-12 04:20:00 +00:00
|
|
|
vendorSha256 = "sha256-8IaE+vhVZkc9QDR6+/3eOSsuf3SYF2upNcCifbqtx14=";
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
2019-09-13 09:20:00 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-09-13 09:20:00 +00:00
|
|
|
homepage = "https://github.com/mozilla/sops";
|
2017-03-10 15:41:57 +00:00
|
|
|
description = "Mozilla sops (Secrets OPerationS) is an editor of encrypted files";
|
2021-03-24 23:00:00 +00:00
|
|
|
changelog = "https://github.com/mozilla/sops/raw/v${version}/CHANGELOG.rst";
|
2019-06-11 21:20:00 +00:00
|
|
|
maintainers = [ maintainers.marsam ];
|
2017-03-10 15:41:57 +00:00
|
|
|
license = licenses.mpl20;
|
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|