1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/tools/security/sops/default.nix
2018-11-15 16:02:52 +01:00

22 lines
506 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "sops-${version}";
version = "3.2.0";
goPackagePath = "go.mozilla.org/sops";
src = fetchFromGitHub {
rev = version;
owner = "mozilla";
repo = "sops";
sha256 = "0lzwql3f4n70gmw1d0vnsg7hd0ma6ys0a4x54g3jk10nrn2f7wxl";
};
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Mozilla sops (Secrets OPerationS) is an editor of encrypted files";
license = licenses.mpl20;
};
}