blob: f0938e83a7ab65fffa3038bac8f40fc1c1c687dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "astropy-helpers";
version = "4.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "astropy";
repo = "astropy-helpers";
tag = "v${version}";
hash = "sha256-MjL/I+ApyoyoD2NmKuKWpDbyuEgvBb2OBhxqj/w/3lk=";
};
patches = [
# Fixes build with Python 3.12+
./python-imp.patch
];
build-system = [ setuptools ];
pythonImportsCheck = [ "astropy_helpers" ];
meta = {
description = "Utilities for building and installing Astropy, Astropy affiliated packages, and their respective documentation";
homepage = "https://github.com/astropy/astropy-helpers";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.smaret ];
};
}
|