diff options
Diffstat (limited to 'pkgs/tools/networking/p2p/rakshasa-rtorrent')
3 files changed, 0 insertions, 125 deletions
diff --git a/pkgs/tools/networking/p2p/rakshasa-rtorrent/default.nix b/pkgs/tools/networking/p2p/rakshasa-rtorrent/default.nix deleted file mode 100644 index 56fec5333fc..00000000000 --- a/pkgs/tools/networking/p2p/rakshasa-rtorrent/default.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ lib -, pkgs -, callPackage -}: - -rec { - libtorrent = callPackage ./libtorrent.nix { }; - rtorrent = callPackage ./rtorrent.nix { }; -} diff --git a/pkgs/tools/networking/p2p/rakshasa-rtorrent/libtorrent.nix b/pkgs/tools/networking/p2p/rakshasa-rtorrent/libtorrent.nix deleted file mode 100644 index fff4cbb36cf..00000000000 --- a/pkgs/tools/networking/p2p/rakshasa-rtorrent/libtorrent.nix +++ /dev/null @@ -1,48 +0,0 @@ -# Note: this is rakshasa's version of libtorrent, used mainly by rtorrent. -# *Do not* mistake it by libtorrent-rasterbar, used by Deluge, qbitttorent etc. -{ lib -, stdenv -, fetchFromGitHub -, autoconf-archive -, autoreconfHook -, cppunit -, libsigcxx -, openssl -, pkg-config -, zlib -}: - -stdenv.mkDerivation rec { - pname = "rakshasa-libtorrent"; - version = "0.13.8+date=2021-08-07"; - - src = fetchFromGitHub { - owner = "rakshasa"; - repo = "libtorrent"; - rev = "53596afc5fae275b3fb5753a4bb2a1a7f7cf6a51"; - hash = "sha256-gyl/jfbptHz/gHkkVGWShhv1Z7o9fa9nJIz27U2A6wg="; - }; - - nativeBuildInputs = [ - autoconf-archive - autoreconfHook - pkg-config - ]; - - buildInputs = [ - cppunit - libsigcxx - openssl - zlib - ]; - - enableParallelBuilding = true; - - meta = with lib; { - homepage = "https://github.com/rakshasa/libtorrent"; - description = "A BitTorrent library written in C++ for *nix, with focus on high performance and good code"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ ebzzry codyopel ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/networking/p2p/rakshasa-rtorrent/rtorrent.nix b/pkgs/tools/networking/p2p/rakshasa-rtorrent/rtorrent.nix deleted file mode 100644 index f166f6d0e29..00000000000 --- a/pkgs/tools/networking/p2p/rakshasa-rtorrent/rtorrent.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ lib -, stdenv -, fetchurl -, fetchFromGitHub -, autoreconfHook -, autoconf-archive -, cppunit -, curl -, libsigcxx -, libtool -, libtorrent -, ncurses -, openssl -, pkg-config -, xmlrpc_c -, zlib -}: - -stdenv.mkDerivation rec { - pname = "rakshasa-rtorrent"; - version = "0.9.8+date=2021-08-07"; - - src = fetchFromGitHub { - owner = "rakshasa"; - repo = "rtorrent"; - rev = "a6bc99bb821d86b3b0633552db3fbd0a22497657"; - hash = "sha256-HTwAs8dfZVXfLRNiT6QpjKGnuahHfoMfYWqdKkedUL0="; - }; - - nativeBuildInputs = [ - autoconf-archive - autoreconfHook - pkg-config - ]; - - buildInputs = [ - cppunit - curl - libsigcxx - libtool - libtorrent - ncurses - openssl - xmlrpc_c - zlib - ]; - - configureFlags = [ - "--with-xmlrpc-c" - "--with-posix-fallocate" - ]; - - enableParallelBuilding = true; - - postInstall = '' - mkdir -p $out/share/man/man1 $out/share/doc/rtorrent - mv doc/old/rtorrent.1 $out/share/man/man1/rtorrent.1 - mv doc/rtorrent.rc $out/share/doc/rtorrent/rtorrent.rc - ''; - - meta = with lib; { - homepage = "https://rakshasa.github.io/rtorrent/"; - description = "An ncurses client for libtorrent, ideal for use with screen, tmux, or dtach"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ ebzzry codyopel ]; - platforms = platforms.unix; - }; -} |