jesec-rtorrent.rtorrent: 0.9.8-r14 -> 0.9.8-r15

+27 -19
+27 -19
pkgs/tools/networking/p2p/jesec-rtorrent/rtorrent.nix
··· 2 , stdenv 3 , fetchFromGitHub 4 , cmake 5 , gtest 6 , libtorrent 7 - , curl 8 , ncurses 9 - , xmlrpc_c 10 - , nlohmann_json 11 - , xmlRpcSupport ? true 12 - , jsonRpcSupport ? true 13 }: 14 - let 15 - inherit (lib) optional; 16 - in 17 stdenv.mkDerivation rec { 18 pname = "jesec-rtorrent"; 19 - version = "0.9.8-r14"; 20 21 src = fetchFromGitHub { 22 owner = "jesec"; 23 repo = "rtorrent"; 24 rev = "v${version}"; 25 - sha256 = "sha256-AbjzNIha3MkCZi6MuyUfPx9r3zeXeTUzkbD7uHB85lo="; 26 }; 27 28 - nativeBuildInputs = [ cmake ]; 29 - buildInputs = [ libtorrent curl ncurses ] 30 - ++ optional xmlRpcSupport xmlrpc_c 31 - ++ optional jsonRpcSupport nlohmann_json; 32 33 - cmakeFlags = [ "-DUSE_RUNTIME_CA_DETECTION=NO" ] 34 - ++ optional (!xmlRpcSupport) "-DUSE_XMLRPC=NO" 35 - ++ optional (!jsonRpcSupport) "-DUSE_JSONRPC=NO"; 36 37 doCheck = true; 38 - checkInputs = [ gtest ]; 39 40 prePatch = '' 41 substituteInPlace src/main.cc \ ··· 51 description = "An ncurses client for libtorrent, ideal for use with screen, tmux, or dtach (jesec's fork)"; 52 homepage = "https://github.com/jesec/rtorrent"; 53 license = licenses.gpl2Plus; 54 - maintainers = with maintainers; [ winterqt ]; 55 platforms = platforms.linux; 56 }; 57 }
··· 2 , stdenv 3 , fetchFromGitHub 4 , cmake 5 + , curl 6 , gtest 7 , libtorrent 8 , ncurses 9 + , jsonRpcSupport ? true, nlohmann_json 10 + , xmlRpcSupport ? true, xmlrpc_c 11 }: 12 + 13 stdenv.mkDerivation rec { 14 pname = "jesec-rtorrent"; 15 + version = "0.9.8-r15"; 16 17 src = fetchFromGitHub { 18 owner = "jesec"; 19 repo = "rtorrent"; 20 rev = "v${version}"; 21 + hash = "sha256-yYOw8wsiQd478JijLgPtEWsw2/ewd46re+t9D705rmk="; 22 }; 23 24 + nativeBuildInputs = [ 25 + cmake 26 + ]; 27 28 + buildInputs = [ 29 + curl 30 + libtorrent 31 + ncurses 32 + ] 33 + ++ lib.optional jsonRpcSupport nlohmann_json 34 + ++ lib.optional xmlRpcSupport xmlrpc_c; 35 + 36 + cmakeFlags = [ 37 + "-DUSE_RUNTIME_CA_DETECTION=NO" 38 + ] 39 + ++ lib.optional (!jsonRpcSupport) "-DUSE_JSONRPC=NO" 40 + ++ lib.optional (!xmlRpcSupport) "-DUSE_XMLRPC=NO"; 41 + 42 43 doCheck = true; 44 + checkInputs = [ 45 + gtest 46 + ]; 47 48 prePatch = '' 49 substituteInPlace src/main.cc \ ··· 59 description = "An ncurses client for libtorrent, ideal for use with screen, tmux, or dtach (jesec's fork)"; 60 homepage = "https://github.com/jesec/rtorrent"; 61 license = licenses.gpl2Plus; 62 + maintainers = with maintainers; [ winterqt AndersonTorres ]; 63 platforms = platforms.linux; 64 }; 65 }