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

25 lines
610 B
Nix
Raw Normal View History

{ stdenv, buildGoModule, fetchFromGitHub }:
2017-03-10 16:41:57 +01:00
buildGoModule rec {
2019-04-18 15:08:36 +02:00
pname = "sops";
2020-07-16 14:10:45 +02:00
version = "3.6.0";
2017-03-10 16:41:57 +01:00
src = fetchFromGitHub {
2019-11-22 10:20:00 +01:00
rev = "v${version}";
2017-03-10 16:41:57 +01:00
owner = "mozilla";
2019-04-18 15:08:36 +02:00
repo = pname;
2020-07-16 14:10:45 +02:00
sha256 = "01skk6vdfki4a88z0snl1pby09im406qhnsfa0d2l8gp6nz8pq6j";
2017-03-10 16:41:57 +01:00
};
2020-07-16 14:10:45 +02:00
vendorSha256 = "0475y95qma5m346ng898n80xv2rxzndx89c9ygjcvjs513yzcba2";
doCheck = false;
2017-03-10 16:41:57 +01:00
meta = with stdenv.lib; {
homepage = "https://github.com/mozilla/sops";
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;
};
}