configuration/packages/shreddit.nix
2023-07-27 10:17:02 -07:00

24 lines
554 B
Nix

{ fetchCrate
, lib
, nix-update-script
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "shreddit";
version = "0.9.1";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-PU2BtM/zt6iKV2gxyHW+u7SM/ixogWGGiiKarXrDU6Y=";
};
cargoHash = "sha256-hVA1zo+5wU5fugrYKM3f/h4Tm3IYWeY/ezxMJgSHxrw=";
passthru.updateScript = nix-update-script { };
meta = {
description = "A tool to delete Reddit comments and posts";
homepage = "https://github.com/andrewbanchich/shreddit";
license = lib.licenses.mit;
};
}