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; }; -} +})