From 57ba67b144bbc83662f8b4667de4b3c590be67c1 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Sun, 3 May 2026 10:38:30 +0000 Subject: [PATCH] rtorrent: 0.16.8 -> 0.16.11 --- pkgs/by-name/li/libtorrent-rakshasa/package.nix | 10 +++++++--- pkgs/by-name/rt/rtorrent/package.nix | 11 +++++++++-- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/li/libtorrent-rakshasa/package.nix b/pkgs/by-name/li/libtorrent-rakshasa/package.nix index 12e647f35c8a..e38f49a34d3b 100644 --- a/pkgs/by-name/li/libtorrent-rakshasa/package.nix +++ b/pkgs/by-name/li/libtorrent-rakshasa/package.nix @@ -14,23 +14,27 @@ stdenv.mkDerivation (finalAttrs: { pname = "libtorrent-rakshasa"; - version = "0.16.8"; + version = "0.16.11"; + + __structuredAttrs = true; src = fetchFromGitHub { owner = "rakshasa"; repo = "libtorrent"; tag = "v${finalAttrs.version}"; - hash = "sha256-catUO7dlJUu8td/+EtBsEs128y/c+teT5xk5H+vkipE="; + hash = "sha256-T8Td2bQlO21ieXdJ+oZ4GytJiGxb9AcgBsygl8yMrpI="; }; + strictDeps = true; + nativeBuildInputs = [ autoreconfHook - curl pkg-config ]; buildInputs = [ cppunit + curl openssl zlib ]; diff --git a/pkgs/by-name/rt/rtorrent/package.nix b/pkgs/by-name/rt/rtorrent/package.nix index 142797ada3da..567d82e67a7c 100644 --- a/pkgs/by-name/rt/rtorrent/package.nix +++ b/pkgs/by-name/rt/rtorrent/package.nix @@ -16,19 +16,22 @@ pkg-config, stdenv, versionCheckHook, + writableTmpDirAsHomeHook, withLua ? false, zlib, }: stdenv.mkDerivation (finalAttrs: { pname = "rtorrent"; - version = "0.16.8"; + version = "0.16.11"; + + __structuredAttrs = true; src = fetchFromGitHub { owner = "rakshasa"; repo = "rtorrent"; tag = "v${finalAttrs.version}"; - hash = "sha256-TG5wEJwOPhgmKNcpjTuSu6MNk91t9sR33mXIUueR4yA="; + hash = "sha256-OEIJMBj1UfIOpR1w8c8ztKWJVD5hKxiJaxweF7mBRNM="; }; outputs = [ @@ -36,10 +39,13 @@ stdenv.mkDerivation (finalAttrs: { "man" ]; + strictDeps = true; + nativeBuildInputs = [ autoreconfHook installShellFiles pkg-config + writableTmpDirAsHomeHook ]; buildInputs = [ @@ -69,6 +75,7 @@ stdenv.mkDerivation (finalAttrs: { doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "-h"; + versionCheckKeepEnvironment = [ "HOME" ]; passthru = { inherit libtorrent-rakshasa;