rakshasa-rtorrent: create subtree

RTorrent uses a companion library, libtorrent, and they should be synchronized
along the releases. They act like a small package set. Therefore it is a good
idea to treat them the same way in Nixpkgs code.

This commit should not change much of the things, because no code besides
rtorrent uses libtorrent.

(Yes, this the same message from jesec-rtorrent commit.)
This commit is contained in:
AndersonTorres 2021-10-21 15:59:16 -03:00
parent 335dbeb95c
commit 3199dc10b7
4 changed files with 16 additions and 3 deletions

View File

@ -0,0 +1,9 @@
{ lib
, pkgs
, callPackage
}:
rec {
libtorrent = callPackage ./libtorrent.nix { };
rtorrent = callPackage ./rtorrent.nix { };
}

View File

@ -7164,7 +7164,13 @@ with pkgs;
libnids = callPackage ../tools/networking/libnids { };
libtorrent = callPackage ../tools/networking/p2p/libtorrent { };
rakshasa-rtorrent = recurseIntoAttrs
(callPackage ../tools/networking/p2p/rakshasa-rtorrent {
callPackage = newScope pkgs.rakshasa-rtorrent;
});
rtorrent = rakshasa-rtorrent.rtorrent;
libtorrent = rakshasa-rtorrent.libtorrent;
jesec-rtorrent = recurseIntoAttrs
(callPackage ../tools/networking/p2p/jesec-rtorrent {
@ -9008,8 +9014,6 @@ with pkgs;
rsstail = callPackage ../applications/networking/feedreaders/rsstail { };
rtorrent = callPackage ../tools/networking/p2p/rtorrent { };
rubber = callPackage ../tools/typesetting/rubber { };
rubocop = rubyPackages.rubocop;