19 lines
352 B
Nix
19 lines
352 B
Nix
{
|
|
buildGoModule,
|
|
}: let
|
|
|
|
build = subPackage: buildGoModule {
|
|
|
|
pname = "cryptic-net-" + (builtins.baseNameOf subPackage);
|
|
version = "unstable";
|
|
src = ./src;
|
|
vendorSha256 = "sha256-UqMxbu/v/zDR4yJgUYiLs7HuHkvsZc/MJiWgw/8g+xk=";
|
|
subPackages = [
|
|
subPackage
|
|
];
|
|
};
|
|
|
|
in {
|
|
crypticNetMain = build "cmd/cryptic-net-main";
|
|
}
|