Files
hearth/package/routine-server/default.nix
T
yukkop ba213e1a3b
runner nix smoke / nix label and flake smoke (push) Canceled after 0s
routine
2026-10-14 22:16:09 +00:00

25 lines
459 B
Nix

{
cargoToml,
lib,
nativeBuildInputs,
pkgs,
...
}: let
cargo = cargoToml ./Cargo.toml;
in
pkgs.rustPlatform.buildRustPackage {
pname = cargo.package.name;
version = cargo.package.version;
src = ./.;
inherit nativeBuildInputs;
cargoLock.lockFile = ./Cargo.lock;
doCheck = true;
meta = {
description = cargo.package.description;
license = lib.licenses.mit;
mainProgram = "routine-server";
};
}