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;