mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
25 lines
673 B
Nix
25 lines
673 B
Nix
{ stdenv, buildGoModule, fetchFromGitHub, CoreServices }:
|
|
|
|
buildGoModule rec {
|
|
pname = "sops";
|
|
version = "3.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "mozilla";
|
|
repo = pname;
|
|
sha256 = "1515bk0fl0pvdkp402l51gdg63bmqlh89sglss6prc1qqvv5v2xy";
|
|
};
|
|
|
|
modSha256 = "0vhxd3dschj5i9sig6vpxzbl59cas1qa843akzmjnfjrrafb916y";
|
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/mozilla/sops";
|
|
description = "Mozilla sops (Secrets OPerationS) is an editor of encrypted files";
|
|
maintainers = [ maintainers.marsam ];
|
|
license = licenses.mpl20;
|
|
};
|
|
}
|