Skip to content

Commit

Permalink
Merge pull request #316131 from wegank/wasserstein-fix
Browse files Browse the repository at this point in the history
python311Packages.wasserstein: fix build on aarch64-linux
  • Loading branch information
risicle authored May 31, 2024
2 parents 2181a45 + ab79492 commit 57610d2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/development/python-modules/wasserstein/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
numpy,
llvmPackages,
wurlitzer,
Expand All @@ -16,10 +17,17 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "pkomiske";
repo = "Wasserstein";
rev = "89c2d6279a7e0aa3b56bcc8fb7b6009420f2563e"; # https://github.com/pkomiske/Wasserstein/issues/1
rev = "v${version}";
hash = "sha256-s9en6XwvO/WPsF7/+SEmGePHZQgl7zLgu5sEn4nD9YE=";
};

patches = [
(fetchpatch {
url = "https://github.com/thaler-lab/Wasserstein/commit/8667d59dfdf89eabf01f3ae93b23a30a27c21c58.patch";
hash = "sha256-jp5updB3E1MYgLhBJwmBMTwBiFXtABMwTxt0G6xhoyA=";
})
];

buildInputs = [ llvmPackages.openmp ];
propagatedBuildInputs = [
numpy
Expand Down

0 comments on commit 57610d2

Please sign in to comment.