Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
790 B
Nix
36 lines
790 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|