Merge pull request #191833 from anthonyroussel/sasview

sasview: fix build
This commit is contained in:
superherointj 2022-09-19 08:37:28 -03:00 committed by GitHub
commit 00fbb78713
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ lib
, python3
, fetchFromGitHub
, fetchpatch
, wrapQtAppsHook
}:
@ -15,6 +16,15 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-TjcchqA6GCvkr59ZgDuGglan2RxLp+aMjJk28XhvoiY=";
};
patches = [
# Fix `asscalar` numpy API removal.
# See https://github.com/SasView/sasview/pull/2178
(fetchpatch {
url = "https://github.com/SasView/sasview/commit/b1ab08c2a4e8fdade7f3e4cfecf3dfec38b8f3c5.patch";
hash = "sha256-IH8g4XPziVAnkmBdzLH1ii8vN6kyCmOgrQlH2HEbm5o=";
})
];
nativeBuildInputs = [
python3.pkgs.pyqt5
wrapQtAppsHook