[Nix-dev] [PATCH] rtorrent: add xmlrpc-c

Mateusz Kowalczyk fuuzetsu at fuuzetsu.co.uk
Thu Aug 14 23:08:17 CEST 2014


On 08/14/2014 09:21 PM, Petar Bogdanovic wrote:
> Third party UIs require rtorrent to be compiled with xmlrpc-c.
> 
> ---
>  pkgs/tools/networking/p2p/rtorrent/default.nix | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/pkgs/tools/networking/p2p/rtorrent/default.nix b/pkgs/tools/networking/p2p/rtorrent/default.nix
> index b843228..64d5183 100644
> --- a/pkgs/tools/networking/p2p/rtorrent/default.nix
> +++ b/pkgs/tools/networking/p2p/rtorrent/default.nix
> @@ -1,5 +1,5 @@
>  { stdenv, fetchurl, libtorrent, ncurses, pkgconfig, libsigcxx, curl
> -, zlib, openssl
> +, zlib, openssl, xmlrpc_c
>  }:
>  
>  stdenv.mkDerivation rec {
> @@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
>      sha256 = "113yrrac75vqi4g8r6bgs0ggjllj9bkg9shv08vqzdhkwqg2q2mw";
>    };
>  
> -  buildInputs = [ libtorrent ncurses pkgconfig libsigcxx curl zlib openssl ];
> +  buildInputs = [ libtorrent ncurses pkgconfig libsigcxx curl zlib openssl xmlrpc_c ];
> +  configureFlags = "--with-xmlrpc-c";
>  
>    # postInstall = ''
>    #   mkdir -p $out/share/man/man1 $out/share/rtorrent
> 

https://github.com/NixOS/nixpkgs/pull/3597
-- 
Mateusz K.


More information about the nix-dev mailing list