From 70b4703609df2fd05aea1404e8a9741df3430930 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 11 Jun 2025 17:41:26 +0000 Subject: [PATCH 1/3] libtorrent: 0.15.1 -> 0.15.4 --- pkgs/by-name/li/libtorrent/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libtorrent/package.nix b/pkgs/by-name/li/libtorrent/package.nix index 1b5ff8e0c9d3..1c0f49e0cb95 100644 --- a/pkgs/by-name/li/libtorrent/package.nix +++ b/pkgs/by-name/li/libtorrent/package.nix @@ -15,13 +15,13 @@ stdenv.mkDerivation rec { pname = "rakshasa-libtorrent"; - version = "0.15.1"; + version = "0.15.4"; src = fetchFromGitHub { owner = "rakshasa"; repo = "libtorrent"; rev = "v${version}"; - hash = "sha256-ejDne7vaV+GYP6M0n3VAEva4UHuxRGwfc2rgxf7U/EM="; + hash = "sha256-EtT1g8fo2XRVO7pGUThoEklxpYKPI7OWwCZ2vVV73k4="; }; nativeBuildInputs = [ From 700a1e18eb0d6897fe1a5e8bf0f6bdd1d059e792 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Wed, 11 Jun 2025 20:30:47 +0100 Subject: [PATCH 2/3] rtorrent: 0.15.1 -> 0.15.4 --- pkgs/by-name/rt/rtorrent/package.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/rt/rtorrent/package.nix b/pkgs/by-name/rt/rtorrent/package.nix index d2a892bde048..ad30eb71bea2 100644 --- a/pkgs/by-name/rt/rtorrent/package.nix +++ b/pkgs/by-name/rt/rtorrent/package.nix @@ -1,7 +1,6 @@ { lib, stdenv, - autoconf-archive, autoreconfHook, cppunit, curl, @@ -17,15 +16,15 @@ gitUpdater, }: -stdenv.mkDerivation { +stdenv.mkDerivation (finalAttrs: { pname = "rakshasa-rtorrent"; - version = "0.15.1"; + version = "0.15.4"; src = fetchFromGitHub { owner = "rakshasa"; repo = "rtorrent"; - rev = "68fdb86c723a0ae67ebaffec416af99fec41dcbc"; - hash = "sha256-/GWC28LsY7GcUH+SBzi01sOWVfA1lyM0r9OdUDTYbT8="; + rev = "v${finalAttrs.version}"; + hash = "sha256-0OnDxmfliVP3GF2xzUZkURippzCGUwLebuyjb7nz/vs="; }; outputs = [ @@ -38,7 +37,6 @@ stdenv.mkDerivation { }; nativeBuildInputs = [ - autoconf-archive autoreconfHook installShellFiles pkg-config @@ -85,4 +83,4 @@ stdenv.mkDerivation { platforms = lib.platforms.unix; mainProgram = "rtorrent"; }; -} +}) From 51bbeedb286888b103a0604a1c2bcb4c797dd61f Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Wed, 11 Jun 2025 20:32:56 +0100 Subject: [PATCH 3/3] libtorrent: remove autoconf-archive --- pkgs/by-name/li/libtorrent/package.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/li/libtorrent/package.nix b/pkgs/by-name/li/libtorrent/package.nix index 1c0f49e0cb95..eeca7cc91cf7 100644 --- a/pkgs/by-name/li/libtorrent/package.nix +++ b/pkgs/by-name/li/libtorrent/package.nix @@ -4,7 +4,6 @@ lib, stdenv, fetchFromGitHub, - autoconf-archive, autoreconfHook, cppunit, openssl, @@ -13,19 +12,18 @@ gitUpdater, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "rakshasa-libtorrent"; version = "0.15.4"; src = fetchFromGitHub { owner = "rakshasa"; repo = "libtorrent"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-EtT1g8fo2XRVO7pGUThoEklxpYKPI7OWwCZ2vVV73k4="; }; nativeBuildInputs = [ - autoconf-archive autoreconfHook pkg-config ]; @@ -53,4 +51,4 @@ stdenv.mkDerivation rec { ]; platforms = lib.platforms.unix; }; -} +})