8 buildPythonPackage rec {
9 pname = "oldest-supported-numpy";
10 version = "2023.12.21";
11 format = "setuptools";
14 inherit pname version;
15 hash = "sha256-cdicMbtWeBTkfi4mjrLpK2+Z9c529MPbMIM2JOnvKeA=";
18 # The purpose of oldest-supported-numpy is to build a project against the
19 # oldest version of numpy for a given Python distribution in order to build
20 # a binary that is compatible with the largest possible versons of numpy.
21 # We only build against one version of numpy in nixpkgs, so instead we only
22 # want to make sure that we have a version above the minimum.
25 substituteInPlace setup.cfg \
26 --replace 'numpy==' 'numpy>='
29 propagatedBuildInputs = [ numpy ];
31 # package has no tests
35 description = "Meta-package providing the oldest supported Numpy for a given Python version and platform";
36 homepage = "https://github.com/scipy/oldest-supported-numpy";
37 license = licenses.bsd2;
38 maintainers = with maintainers; [ tjni ];