shreddit: init at 0.7.3

This commit is contained in:
Andrew Kvalheim 2023-06-11 22:58:24 -07:00
parent b78b15b4d7
commit 593962cbdb
2 changed files with 25 additions and 0 deletions

View file

@ -32,6 +32,7 @@ specify {
nbt-explorer = any;
off = any;
pngquant-interactive = any;
shreddit = any;
signal-desktop.gappsWrapperArgs = "--add-flags --use-tray-icon"; # Enable tray icon
tile-stitch = any;
trafilatura = any;

24
packages/shreddit.nix Normal file
View file

@ -0,0 +1,24 @@
{ fetchCrate
, lib
, nix-update-script
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "shreddit";
version = "0.7.3";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-Nbnb7m0KyWGOrRNPJkSxVtR18tkZRPvTRDMb1cVnOLs=";
};
cargoHash = "sha256-8/qje0BduxNSySpkhpJZIUWqH2+2hpHtAx9xxLyNC+I=";
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;
};
}