diff --git a/pkgs/by-name/li/libtorrent/package.nix b/pkgs/by-name/li/libtorrent/package.nix index 1b5ff8e0c9d3..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.1"; + version = "0.15.4"; src = fetchFromGitHub { owner = "rakshasa"; repo = "libtorrent"; - rev = "v${version}"; - hash = "sha256-ejDne7vaV+GYP6M0n3VAEva4UHuxRGwfc2rgxf7U/EM="; + rev = "v${finalAttrs.version}"; + hash = "sha256-EtT1g8fo2XRVO7pGUThoEklxpYKPI7OWwCZ2vVV73k4="; }; nativeBuildInputs = [ - autoconf-archive autoreconfHook pkg-config ]; @@ -53,4 +51,4 @@ stdenv.mkDerivation rec { ]; platforms = lib.platforms.unix; }; -} +}) 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"; }; -} +})