mraow/client/default.nix
2023-05-04 18:08:27 -05:00

17 lines
471 B
Nix

{ toolchain, makeRustPlatform, nix-gitignore, installShellFiles }:
let rustPlatform = makeRustPlatform { inherit (toolchain) cargo rustc; };
in rustPlatform.buildRustPackage {
name = "garbage";
src = nix-gitignore.gitignoreSource [ ./.gitignore ] ./.;
cargoLock = { lockFile = ./Cargo.lock; };
nativeBuildInputs = [ installShellFiles ];
meta = {
description = "CLI tool to interact with the FreeDesktop trash API.";
mainProgram = "garbage";
};
}