1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 isPy3k,
6 pythonAtLeast,
7}:
8
9buildPythonPackage rec {
10 pname = "astropy-helpers";
11 version = "4.0.1";
12 format = "setuptools";
13
14 # ModuleNotFoundError: No module named 'imp'
15 disabled = !isPy3k || pythonAtLeast "3.12";
16
17 doCheck = false; # tests requires sphinx-astropy
18
19 src = fetchPypi {
20 inherit pname version;
21 sha256 = "f1096414d108778218d6bea06d4d9c7b2ff7c83856a451331ac194e74de9f413";
22 };
23
24 meta = with lib; {
25 description = "Utilities for building and installing Astropy, Astropy affiliated packages, and their respective documentation";
26 homepage = "https://github.com/astropy/astropy-helpers";
27 license = licenses.bsd3;
28 maintainers = [ maintainers.smaret ];
29 };
30}