mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
libtorrent-rasterbar: Fix build on darwin but still fails with some python issue
This commit is contained in:
parent
5a500da7c2
commit
b101b25cef
@ -1,10 +1,10 @@
|
||||
{ stdenv, lib, fetchFromGitHub, pkgconfig, automake, autoconf
|
||||
, zlib, boost, openssl, libtool, python, libiconv, ncurses
|
||||
{ stdenv, fetchFromGitHub, pkg-config, automake, autoconf
|
||||
, zlib, boost, openssl, libtool, python, libiconv, ncurses, SystemConfiguration
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.2.6";
|
||||
formattedVersion = lib.replaceChars ["."] ["_"] version;
|
||||
formattedVersion = stdenv.lib.replaceChars ["."] ["_"] version;
|
||||
|
||||
# Make sure we override python, so the correct version is chosen
|
||||
# for the bindings, if overridden
|
||||
@ -22,8 +22,12 @@ in stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
nativeBuildInputs = [ automake autoconf libtool pkgconfig ];
|
||||
buildInputs = [ boostPython openssl zlib python libiconv ncurses ];
|
||||
|
||||
nativeBuildInputs = [ automake autoconf libtool pkg-config ];
|
||||
|
||||
buildInputs = [ boostPython openssl zlib python libiconv ncurses ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ SystemConfiguration ];
|
||||
|
||||
preConfigure = "./autotool.sh";
|
||||
|
||||
postInstall = ''
|
||||
@ -45,6 +49,7 @@ in stdenv.mkDerivation {
|
||||
description = "A C++ BitTorrent implementation focusing on efficiency and scalability";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.phreedom ];
|
||||
broken = stdenv.isDarwin;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -14517,7 +14517,9 @@ in
|
||||
|
||||
libtomcrypt = callPackage ../development/libraries/libtomcrypt { };
|
||||
|
||||
libtorrentRasterbar-1_2_x = callPackage ../development/libraries/libtorrent-rasterbar/1.2 { };
|
||||
libtorrentRasterbar-1_2_x = callPackage ../development/libraries/libtorrent-rasterbar/1.2 {
|
||||
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
|
||||
};
|
||||
|
||||
libtorrentRasterbar-1_1_x = callPackage ../development/libraries/libtorrent-rasterbar/1.1 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user