1 { stdenv, lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, darwin }:
3 rustPlatform.buildRustPackage rec {
5 pname = "transmission-rss";
7 src = fetchFromGitHub {
10 rev = "5bbad7a81621a194b7a8b11a56051308a7ccbf06";
11 sha256 = "sha256-SkEgxinqPA9feOIF68oewVyRKv3SY6fWWZLGJeH+r4M=";
14 cargoPatches = [ ./update-cargo-lock-version.patch ];
16 cargoHash = "sha256-QNMdqoxxY8ao2O44hJxZNgLrPwzu9+ieweTPc7pfFY4=";
18 nativeBuildInputs = [pkg-config];
19 buildInputs = [openssl]
20 ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
25 OPENSSL_NO_VENDOR = 1;
28 description = "Add torrents to transmission based on RSS list";
29 homepage = "https://github.com/herlon214/transmission-rss";
30 maintainers = with maintainers; [ icewind1991 ];
31 license = licenses.mit;
32 mainProgram = "transmission-rss";