uvms/pkgs/ch-proxy/package.nix
2025-09-27 05:26:03 +03:00

38 lines
841 B
Nix

{
lib,
stdenv,
meson,
ninja,
}:
stdenv.mkDerivation {
pname = "ch-proxy";
version = "0.0.0";
nativeBuildInputs = [
meson
ninja
];
src =
let
fs = lib.fileset;
in
fs.toSource {
fileset = fs.unions [
./proxy.c
./meson.build
];
root = ./.;
};
meta = {
mainProgram = "ch-proxy";
license = [ lib.licenses.gpl3 ];
homepage = "https://forge.someonex.net/else/uvms/src/branch/master/pkgs/ch-proxy";
description = ''
An FD-passing proxy for cloud-hypervisor (firecracker, crosvm),
compatible, as a ProxyCommand, with ssh. This only really exists
because https://github.com/systemd/systemd/blob/cb19dbb97f062a09a61a0be5f7ebf1e4cda7fb78/src/ssh-generator/ssh-proxy.c
was not yet merged into Nixpkgs at the time.
'';
};
}