nixpkgs-suyu/pkgs/tools/security/sops/default.nix

23 lines
537 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchFromGitHub }:
2017-03-10 16:41:57 +01:00
buildGoPackage rec {
2019-04-18 15:08:36 +02:00
pname = "sops";
2019-06-11 23:20:00 +02:00
version = "3.3.1";
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;
2019-06-11 23:20:00 +02:00
sha256 = "0jbrz3yz6cj08h8cx6y98m8r0lpclh9367cw5apy6w3v71i3svfi";
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";
2019-06-11 23:20:00 +02:00
maintainers = [ maintainers.marsam ];
2017-03-10 16:41:57 +01:00
license = licenses.mpl20;
};
}