forked from mirrors/nixpkgs
00b038a3f8
The reason is that if cross compiling (or for other reasons) python bindings as a whole are turned off. Those two lines then trigger assertion errors unless manually overridden for cross compilation. This way: 1. The `enableNumpy` default respects the `enablePython deafult. 2. Cross works by default 3. Absurd manual overrides still break as they should 4. The `>= 1.65` logic is direct and not a maintaince gotcha.
13 lines
355 B
Nix
13 lines
355 B
Nix
{ stdenv, callPackage, fetchurl, ... } @ args:
|
|
|
|
callPackage ./generic.nix (args // rec {
|
|
version = "1.66_0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/boost/boost_1_66_0.tar.bz2";
|
|
# SHA256 from http://www.boost.org/users/history/version_1_66_0.html
|
|
sha256 = "5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9";
|
|
};
|
|
|
|
})
|