···29in buildPythonPackage rec {
30 # Using an untagged version, with numpy 1.25 support, when it's released
31 # also drop the versioneer patch in postPatch
32- version = "unstable-2023-08-02";
33 pname = "numba";
34 format = "setuptools";
35 disabled = pythonOlder "3.6" || pythonAtLeast "3.11";
···37 src = fetchFromGitHub {
38 owner = "numba";
39 repo = "numba";
40- rev = "fcf94205335dcc6135d2e19c07bbef968d13610d";
41 # Upstream uses .gitattributes to inject information about the revision
42 # hash and the refname into `numba/_version.py`, see:
43 #
···50 # use `forceFetchGit = true;`.` If in the future we'll observe the hash
51 # changes too often, we can always use forceFetchGit, and inject the
52 # relevant strings ourselves, using `sed` commands, in extraPostFetch.
53- hash = "sha256-Wm1sV4uS/Xkz1BkT2xNmwgBZS0X8YziC6jlbfolXGB8=";
54 };
55 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1";
56···131 description = "Compiling Python code using LLVM";
132 homepage = "https://numba.pydata.org/";
133 license = licenses.bsd2;
0134 maintainers = with maintainers; [ fridh ];
135 };
136}
···29in buildPythonPackage rec {
30 # Using an untagged version, with numpy 1.25 support, when it's released
31 # also drop the versioneer patch in postPatch
32+ version = "unstable-2023-08-11";
33 pname = "numba";
34 format = "setuptools";
35 disabled = pythonOlder "3.6" || pythonAtLeast "3.11";
···37 src = fetchFromGitHub {
38 owner = "numba";
39 repo = "numba";
40+ rev = "6f0c5060a69656319ab0bae1d8bb89484cd5631f";
41 # Upstream uses .gitattributes to inject information about the revision
42 # hash and the refname into `numba/_version.py`, see:
43 #
···50 # use `forceFetchGit = true;`.` If in the future we'll observe the hash
51 # changes too often, we can always use forceFetchGit, and inject the
52 # relevant strings ourselves, using `sed` commands, in extraPostFetch.
53+ hash = "sha256-34qEn/i2X6Xu1cjuiRrmrm/HryNoN+Am4A4pJ90srAE=";
54 };
55 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1";
56···131 description = "Compiling Python code using LLVM";
132 homepage = "https://numba.pydata.org/";
133 license = licenses.bsd2;
134+ mainProgram = "numba";
135 maintainers = with maintainers; [ fridh ];
136 };
137}