From bb0cd0a40efd3600ae6ab7ab810c198feb635dbb Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Wed, 11 Jun 2025 20:32:56 +0100 Subject: [PATCH] libtorrent: remove autoconf-archive (cherry picked from commit 51bbeedb286888b103a0604a1c2bcb4c797dd61f) --- 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; }; -} +})