mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-23 05:35:50 +02:00
Merge pull request #205686 from raphaelr/openturns-fix-build
openturns: fix build
This commit is contained in:
commit
3cf892d8ba
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, cmake
|
, cmake
|
||||||
, swig
|
, swig
|
||||||
, boost
|
, boost
|
||||||
|
@ -34,6 +35,15 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-QeapH937yGnK6oD+rgIERePxz6ooxGpOx6x9LyFDt2A=";
|
sha256 = "sha256-QeapH937yGnK6oD+rgIERePxz6ooxGpOx6x9LyFDt2A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix build with primesieve 11, https://github.com/openturns/openturns/pull/2187
|
||||||
|
# Remove with next version update.
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/openturns/openturns/commit/a85061f89a5763061467beac516c1355fe81b9be.patch";
|
||||||
|
hash = "sha256-z28ipBuX3b5UFEnKuDfp+kMI5cUcwXVz/8WZHlICnvE=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ] ++ lib.optional enablePython python3Packages.sphinx;
|
nativeBuildInputs = [ cmake ] ++ lib.optional enablePython python3Packages.sphinx;
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
swig
|
swig
|
||||||
|
|
Loading…
Reference in a new issue