Merge pull request #193024 from aaronjheng/libtorrent-rasterbar-1_1_x

authored by Sandro and committed by GitHub f5f544d3 f7de39c6

-57
-52
pkgs/development/libraries/libtorrent-rasterbar/1.1.nix
··· 1 - { stdenv, lib, fetchFromGitHub, pkg-config, automake, autoconf 2 - , zlib, boost, openssl, libtool, python, libiconv, ncurses 3 - }: 4 - 5 - let 6 - version = "1.1.11"; 7 - formattedVersion = lib.replaceChars ["."] ["_"] version; 8 - 9 - # Make sure we override python, so the correct version is chosen 10 - # for the bindings, if overridden 11 - boostPython = boost.override { enablePython = true; inherit python; }; 12 - 13 - in stdenv.mkDerivation { 14 - pname = "libtorrent-rasterbar"; 15 - inherit version; 16 - 17 - src = fetchFromGitHub { 18 - owner = "arvidn"; 19 - repo = "libtorrent"; 20 - rev = "libtorrent_${formattedVersion}"; 21 - sha256 = "0nwdsv6d2gkdsh7l5a46g6cqx27xwh3msify5paf02l1qzjy4s5l"; 22 - }; 23 - 24 - enableParallelBuilding = true; 25 - nativeBuildInputs = [ automake autoconf libtool pkg-config ]; 26 - buildInputs = [ boostPython openssl zlib python libiconv ncurses ]; 27 - preConfigure = "./autotool.sh"; 28 - 29 - postInstall = '' 30 - moveToOutput "include" "$dev" 31 - moveToOutput "lib/${python.libPrefix}" "$python" 32 - ''; 33 - 34 - outputs = [ "out" "dev" "python" ]; 35 - 36 - configureFlags = [ 37 - "--enable-python-binding" 38 - "--with-libiconv=yes" 39 - "--with-boost=${boostPython.dev}" 40 - "--with-boost-libdir=${boostPython.out}/lib" 41 - ]; 42 - 43 - meta = with lib; { 44 - # darwin: never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/libtorrent-rasterbar-1_1_x.x86_64-darwin 45 - broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; 46 - homepage = "https://libtorrent.org/"; 47 - description = "A C++ BitTorrent implementation focusing on efficiency and scalability"; 48 - license = licenses.bsd3; 49 - maintainers = [ ]; 50 - platforms = platforms.unix; 51 - }; 52 - }
-1
pkgs/top-level/aliases.nix
··· 615 615 libtensorflow-bin = libtensorflow; # Added 2022-09-25 616 616 libtidy = throw "'libtidy' has been renamed to/replaced by 'html-tidy'"; # Converted to throw 2022-02-22 617 617 libtorrentRasterbar = throw "'libtorrentRasterbar' has been renamed to/replaced by 'libtorrent-rasterbar'"; # Converted to throw 2022-09-24 618 - libtorrentRasterbar-1_1_x = throw "'libtorrentRasterbar-1_1_x' has been renamed to/replaced by 'libtorrent-rasterbar-1_1_x'"; # Converted to throw 2022-09-24 619 618 libtorrentRasterbar-1_2_x = throw "'libtorrentRasterbar-1_2_x' has been renamed to/replaced by 'libtorrent-rasterbar-1_2_x'"; # Converted to throw 2022-09-24 620 619 libtorrentRasterbar-2_0_x = throw "'libtorrentRasterbar-2_0_x' has been renamed to/replaced by 'libtorrent-rasterbar-2_0_x'"; # Converted to throw 2022-09-24 621 620 libudev = throw "'libudev' has been renamed to/replaced by 'udev'"; # Converted to throw 2022-02-22
-4
pkgs/top-level/all-packages.nix
··· 20418 20418 python = python2; 20419 20419 }; 20420 20420 20421 - libtorrent-rasterbar-1_1_x = callPackage ../development/libraries/libtorrent-rasterbar/1.1.nix { 20422 - python = python2; 20423 - }; 20424 - 20425 20421 libtorrent-rasterbar = libtorrent-rasterbar-2_0_x; 20426 20422 20427 20423 # this is still the new version of the old API