Skip to content

Commit

Permalink
python310Packages.fenics: unpin boost172
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank committed Jun 7, 2023
1 parent 55401af commit bef5331
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 10 additions & 0 deletions pkgs/development/python-modules/fenics/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,17 @@ let
url = "https://bitbucket.org/josef_kemetmueller/dolfin/commits/328e94acd426ebaf2243c072b806be3379fd4340/raw";
sha256 = "1zj7k3y7vsx0hz3gwwlxhq6gdqamqpcw90d4ishwx5ps5ckcsb9r";
})
(fetchpatch {
url = "https://bitbucket.org/fenics-project/dolfin/issues/attachments/1116/fenics-project/dolfin/1602778118.04/1116/0001-Use-__BYTE_ORDER__-instead-of-removed-Boost-endian.h.patch";
hash = "sha256-wPaDmPU+jaD3ce3nNEbvM5p8e3zBdLozamLTJ/0ai2c=";
})
];
# https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=dolfin&id=a965ad934f7b3d49a5e77fa6fb5e3c710ec2163e
postPatch = ''
sed -i '20 a #include <algorithm>' dolfin/geometry/IntersectionConstruction.cpp
sed -i '26 a #include <algorithm>' dolfin/mesh/MeshFunction.h
sed -i '25 a #include <cstdint>' dolfin/mesh/MeshConnectivity.h
'';
propagatedBuildInputs = [
dijitso
fiat
Expand Down
1 change: 0 additions & 1 deletion pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3530,7 +3530,6 @@ self: super: with self; {

fenics = callPackage ../development/python-modules/fenics {
hdf5 = pkgs.hdf5_1_10;
boost = pkgs.boost172;
};

ffcv = callPackage ../development/python-modules/ffcv { };
Expand Down

0 comments on commit bef5331

Please sign in to comment.