We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffa3421 commit 51335e4Copy full SHA for 51335e4
pkgs/development/python-modules/pyfma/default.nix
@@ -2,6 +2,7 @@
2
lib,
3
buildPythonPackage,
4
fetchFromGitHub,
5
+ fetchpatch,
6
importlib-metadata,
7
numpy,
8
pybind11,
@@ -24,6 +25,14 @@ buildPythonPackage rec {
24
25
hash = "sha256-1qNa+FcIAP1IMzdNKrEbTVPo6gTOSCvhTRIHm6REJoo=";
26
};
27
28
+ patches = [
29
+ # Replace deprecated np.find_common_type calls with np.promote_types, https://github.com/nschloe/pyfma/pull/17
30
+ (fetchpatch {
31
+ url = "https://github.com/nschloe/pyfma/commit/e12d69d97a97657ab4fec3e8f2b2859f4360bc03.patch";
32
+ hash = "sha256-BsQe4hpo+Cripa0FRGFnRBs1oQ1GZA1+ZYzycy5M4Ek=";
33
+ })
34
+ ];
35
+
36
build-system = [ setuptools ];
37
38
buildInputs = [ pybind11 ];
0 commit comments