mraow/client/default.nix

18 lines
471 B
Nix
Raw Normal View History

2023-05-04 23:08:27 +00:00
{ 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";
};
}