depot/third_party/nixpkgs/pkgs/development/python-modules/astropy-iers-data/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

42 lines
853 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
setuptools-scm,
wheel,
}:
buildPythonPackage rec {
pname = "astropy-iers-data";
version = "0.2024.04.01.00.33.14";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "astropy";
repo = "astropy-iers-data";
rev = "refs/tags/v${version}";
hash = "sha256-6FHAntN+m0cLDEhWPrcgyD0PgVDOfC8nf4kVl1z8x0g=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
wheel
];
pythonImportsCheck = [ "astropy_iers_data" ];
# no tests
doCheck = false;
meta = with lib; {
description = "IERS data maintained by @astrofrog and astropy.utils.iers maintainers";
homepage = "https://github.com/astropy/astropy-iers-data";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}