diff options
Diffstat (limited to 'pkgs/applications/networking/p2p/rakshasa-rtorrent')
-rw-r--r-- | pkgs/applications/networking/p2p/rakshasa-rtorrent/default.nix | 72 | ||||
-rw-r--r-- | pkgs/applications/networking/p2p/rakshasa-rtorrent/libtorrent.nix | 48 |
2 files changed, 0 insertions, 120 deletions
diff --git a/pkgs/applications/networking/p2p/rakshasa-rtorrent/default.nix b/pkgs/applications/networking/p2p/rakshasa-rtorrent/default.nix deleted file mode 100644 index bc3989f1ee67c..0000000000000 --- a/pkgs/applications/networking/p2p/rakshasa-rtorrent/default.nix +++ /dev/null @@ -1,72 +0,0 @@ -{ lib -, stdenv -, 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=2022-06-20"; - - src = fetchFromGitHub { - owner = "rakshasa"; - repo = "rtorrent"; - rev = "92bec88d0904bfb31c808085c2fd0f22d0ec8db7"; - hash = "sha256-er7UdIb+flhq0ye76UmomgfHV2ZSBROpXmfrNDHwTWw="; - }; - - passthru = { - inherit libtorrent; - }; - - 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 = "Ncurses client for libtorrent, ideal for use with screen, tmux, or dtach"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ ebzzry codyopel ]; - platforms = platforms.unix; - mainProgram = "rtorrent"; - }; -} diff --git a/pkgs/applications/networking/p2p/rakshasa-rtorrent/libtorrent.nix b/pkgs/applications/networking/p2p/rakshasa-rtorrent/libtorrent.nix deleted file mode 100644 index 7217026dc8053..0000000000000 --- a/pkgs/applications/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 = "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; - }; -} |