2021-04-20 21:31:37 +00:00
|
|
|
{
|
|
|
|
buildGoModule,
|
|
|
|
}: let
|
|
|
|
|
|
|
|
build = subPackage: buildGoModule {
|
|
|
|
|
|
|
|
pname = "cryptic-net-" + (builtins.baseNameOf subPackage);
|
|
|
|
version = "unstable";
|
|
|
|
src = ./src;
|
2022-10-11 17:53:42 +00:00
|
|
|
vendorSha256 = "sha256-UqMxbu/v/zDR4yJgUYiLs7HuHkvsZc/MJiWgw/8g+xk=";
|
2021-04-20 21:31:37 +00:00
|
|
|
subPackages = [
|
|
|
|
subPackage
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
in {
|
|
|
|
crypticNetMain = build "cmd/cryptic-net-main";
|
|
|
|
}
|