Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pkg-resources-backport,}:
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 pkg-resources-backport ];
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 ]; };}