Merge pull request #197596 from icewind1991/transmission-rss-0.3.1
transmission-rss: init at 0.3.1
This commit is contained in:
commit
04eb8ece08
29
pkgs/tools/networking/transmission-rss/default.nix
Normal file
29
pkgs/tools/networking/transmission-rss/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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",
|
|
@ -1821,6 +1821,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 { };
|
||||
|
|
Loading…
Reference in a new issue