transmission-rss: init at 0.3.1

This commit is contained in:
Robin Appelman 2022-10-24 19:36:47 +02:00
parent 9ec300ecdb
commit 2640caf136
3 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv, lib, fetchFromGitHub, rustPlatform, pkg-config, openssl }:
rustPlatform.buildRustPackage rec {
version = "0.3.1";
pname = "transmission-rss";
src = fetchFromGitHub {
owner = "herlon214";
repo = pname;
rev = "5bbad7a81621a194b7a8b11a56051308a7ccbf06";
sha256 = "sha256-SkEgxinqPA9feOIF68oewVyRKv3SY6fWWZLGJeH+r4M=";
};
cargoPatches = [ ./update-cargo-lock-version.patch ];
cargoSha256 = "sha256-QNMdqoxxY8ao2O44hJxZNgLrPwzu9+ieweTPc7pfFY4=";
nativeBuildInputs = [pkg-config];
buildInputs = [openssl];
OPENSSL_NO_VENDOR = 1;
meta = with lib; {
description = "Add torrents to transmission based on RSS list";
homepage = "https://github.com/herlon214/transmission-rss";
maintainers = with maintainers; [ icewind1991 ];
license = licenses.mit;
};
}

View file

@ -0,0 +1,13 @@
diff --git a/Cargo.lock b/Cargo.lock
index e75aca4..88321ec 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2148,7 +2148,7 @@ dependencies = [
[[package]]
name = "transmission-rss"
-version = "0.3.0"
+version = "0.3.1"
dependencies = [
"clap",
"env_logger",

View file

@ -1817,6 +1817,8 @@ with pkgs;
topicctl = callPackage ../tools/misc/topicctl { };
transmission-rss = callPackage ../tools/networking/transmission-rss { };
trigger-control = callPackage ../tools/games/trigger-control { };
ttchat = callPackage ../tools/misc/ttchat { };