9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
14 owner = "manojkarthick";
17 sha256 = "07xsrc0w0z7w2w0q44aqnn1ybf9vqry01v3xr96l1xzzc5mkqdzf";
20 cargoHash = "sha256-l+fxk9gkM+pStBVJcsN4P2tNCuFIiBaAxpq9SLlvJHk=";
22 nativeBuildInputs = [ pkg-config ];
23 buildInputs = [ openssl ]
24 ++ lib.optional stdenv.hostPlatform.isDarwin Security;
26 # package does not contain tests as of v0.3.3
30 description = "CLI tool to download saved media from Reddit";
31 homepage = "https://github.com/manojkarthick/reddsaver";
32 license = with licenses; [ mit /* or */ asl20 ];
33 maintainers = [ maintainers.manojkarthick ];
34 mainProgram = "reddsaver";