Package lanshare

Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
Marcel Müller 2026-02-09 14:09:57 +01:00
parent 0df86e79ff
commit c6cd325748

View file

@ -14,30 +14,48 @@
] (system: f (import inputs.nixpkgs { inherit system; })); ] (system: f (import inputs.nixpkgs { inherit system; }));
in in
{ {
packages = forAllSystems (pkgs: { packages = forAllSystems (
gitlab-job-status = pkgs.writeShellApplication { pkgs:
name = "gitlab-job-status";
runtimeInputs = [
pkgs.curl
pkgs.jq
pkgs.git
pkgs.ncurses
pkgs.coreutils
];
text = builtins.readFile ./gitlab-job-status; let
}; lanshare = pkgs.rustPlatform.buildRustPackage (finalAttrs: {
pname = "lanshare";
version = "0.1.0";
src = ./lanshare;
cargoHash = "sha256-rUTARzVTbi0/KNFUDRynOTioIZIhiZf4suqb9UqtvV4=";
migrate-workspace-deps = pkgs.writeShellApplication { meta = {
name = "migrate-workspace-deps"; description = "A local screenshare application";
runtimeInputs = [ mainProgram = "lanshare";
pkgs.jq };
pkgs.git });
pkgs.yq in
]; {
inherit lanshare;
gitlab-job-status = pkgs.writeShellApplication {
name = "gitlab-job-status";
runtimeInputs = [
pkgs.curl
pkgs.jq
pkgs.git
pkgs.ncurses
pkgs.coreutils
];
text = builtins.readFile ./migrate-workspace-deps; text = builtins.readFile ./gitlab-job-status;
}; };
});
migrate-workspace-deps = pkgs.writeShellApplication {
name = "migrate-workspace-deps";
runtimeInputs = [
pkgs.jq
pkgs.git
pkgs.yq
];
text = builtins.readFile ./migrate-workspace-deps;
};
}
);
}; };
} }