mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
06535d0e3d
* build(deps): bump github.com/ProtonMail/go-crypto Bumps [github.com/ProtonMail/go-crypto](https://github.com/ProtonMail/go-crypto) from 1.1.0-alpha.5-proton to 1.1.0-beta.0-proton. - [Release notes](https://github.com/ProtonMail/go-crypto/releases) - [Commits](https://github.com/ProtonMail/go-crypto/compare/v1.1.0-alpha.5-proton...v1.1.0-beta.0-proton) --- updated-dependencies: - dependency-name: github.com/ProtonMail/go-crypto dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * update vendorHash --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
34 lines
1.1 KiB
Nix
34 lines
1.1 KiB
Nix
{ pkgs ? import <nixpkgs> {}
|
|
, vendorHash ? "sha256-wd25uVUm3ISDjafy+4vImmLyObagEEeE+Ci8PbvaYD8="
|
|
}: let
|
|
sops-install-secrets = pkgs.callPackage ./pkgs/sops-install-secrets {
|
|
inherit vendorHash;
|
|
};
|
|
in rec {
|
|
inherit sops-install-secrets;
|
|
sops-init-gpg-key = pkgs.callPackage ./pkgs/sops-init-gpg-key {};
|
|
default = sops-init-gpg-key;
|
|
|
|
sops-pgp-hook = pkgs.lib.warn ''
|
|
sops-pgp-hook is deprecated, use sops-import-keys-hook instead.
|
|
Also see https://github.com/Mic92/sops-nix/issues/98
|
|
'' pkgs.callPackage ./pkgs/sops-pgp-hook { };
|
|
sops-import-keys-hook = pkgs.callPackage ./pkgs/sops-import-keys-hook { };
|
|
|
|
# backwards compatibility
|
|
inherit (pkgs) ssh-to-pgp;
|
|
|
|
# used in the CI only
|
|
sops-pgp-hook-test = pkgs.callPackage ./pkgs/sops-pgp-hook-test.nix {
|
|
inherit vendorHash;
|
|
};
|
|
unit-tests = pkgs.callPackage ./pkgs/unit-tests.nix {};
|
|
} // (pkgs.lib.optionalAttrs pkgs.stdenv.isLinux {
|
|
lint = pkgs.callPackage ./pkgs/lint.nix {
|
|
inherit sops-install-secrets;
|
|
};
|
|
|
|
cross-build = pkgs.callPackage ./pkgs/cross-build.nix {
|
|
inherit sops-install-secrets;
|
|
};
|
|
})
|