2020-07-12 16:33:08 +00:00
|
|
|
{ stdenv, buildGoModule, path, pkgs, vendorSha256 }:
|
2020-07-06 06:30:09 +00:00
|
|
|
buildGoModule {
|
|
|
|
pname = "sops-install-secrets";
|
|
|
|
version = "0.0.1";
|
|
|
|
|
2020-07-12 12:50:55 +00:00
|
|
|
src = ../..;
|
2020-07-06 06:30:09 +00:00
|
|
|
|
2020-07-12 12:50:55 +00:00
|
|
|
subPackages = [ "pkgs/sops-install-secrets" ];
|
|
|
|
|
2020-07-12 15:59:20 +00:00
|
|
|
passthru.tests = import ./nixos-test.nix {
|
|
|
|
makeTest = import (path + "/nixos/tests/make-test-python.nix");
|
|
|
|
inherit pkgs;
|
|
|
|
};
|
|
|
|
|
2020-07-12 16:18:12 +00:00
|
|
|
inherit vendorSha256;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Atomic secret provisioning based on sops";
|
|
|
|
homepage = "https://github.com/Mic92/sops-nix";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mic92 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2020-07-06 06:30:09 +00:00
|
|
|
}
|