nixos-config/pkgs/taskwarrior-hooks/default.nix
Ingolf Wagner 7a6510a4e6
nix fmt
2024-08-29 08:26:04 +07:00

30 lines
861 B
Nix

{
rustPlatform,
fetchFromGitHub,
lib,
...
}:
rustPlatform.buildRustPackage rec {
name = "taskwarrior-hooks-${version}";
version = "0.2.2";
src = fetchFromGitHub {
owner = "mrVanDalo";
repo = "taskwarrior-hooks";
rev = "${version}";
sha256 = "1mj0k6ykac332667315kqrvg37j8r8078g48nafv7ini6lw8djas";
};
cargoSha256 = "1panzqb7nfv3w92ij7pnczkqmcidzlr4pra6a0vcqd65j1m3s4wk";
#cargoSha256 = "0l4sa5c1pfjdlbdxrd61wd2qij4zaf8rx1xqac80jicly9rf3859";
#cargoSha256 = "1ijnh2ank9slmfglw4yhnycl11x26m94m2hiq3hcasmbs6c39zj5";
#verifyCargoDeps = true;
meta = with lib; {
description = "A fast line-oriented regex search tool, similar to ag and ack";
homepage = "https://github.com/mrvandalo/taskwarrior-hooks";
license = licenses.gpl3;
maintainers = [ maintainers.mrVanDalo ];
platforms = platforms.all;
};
}