mirror of
https://github.com/msfjarvis/custom-nixpkgs.git
synced 2024-06-03 03:58:55 +05:30
31 lines
772 B
Nix
31 lines
772 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
stdenv,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rucksack";
|
|
version = "1.0.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "msfjarvis";
|
|
repo = "rucksack";
|
|
rev = "v${version}";
|
|
hash = "sha256-uK70nDA9EkBSoF/7nLW4ijypRD/rSqQHQsZh0qv6IJE=";
|
|
};
|
|
|
|
buildFeatures = lib.optionals stdenv.isLinux ["journald"];
|
|
cargoHash = "sha256-fL58B0DSB5dmNWTu+LSW/6E8q3in/lkG1vJSLK1dVag=";
|
|
|
|
useNextest = true;
|
|
|
|
meta = with lib; {
|
|
description = "Simple CLI tool to watch directories and move their files to a single dumping ground";
|
|
homepage = "https://github.com/msfjarvis/rucksack";
|
|
license = with licenses; [asl20 mit];
|
|
maintainers = with maintainers; [msfjarvis];
|
|
mainProgram = "rucksack";
|
|
};
|
|
}
|