24 lines
554 B
Nix
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;
|
|
};
|
|
}
|