1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 setuptools,
7 setuptools-scm,
8 wheel,
9}:
10
11buildPythonPackage rec {
12 pname = "astropy-iers-data";
13 version = "0.2024.04.01.00.33.14";
14 pyproject = true;
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchFromGitHub {
19 owner = "astropy";
20 repo = "astropy-iers-data";
21 rev = "refs/tags/v${version}";
22 hash = "sha256-6FHAntN+m0cLDEhWPrcgyD0PgVDOfC8nf4kVl1z8x0g=";
23 };
24
25 nativeBuildInputs = [
26 setuptools
27 setuptools-scm
28 wheel
29 ];
30
31 pythonImportsCheck = [ "astropy_iers_data" ];
32
33 # no tests
34 doCheck = false;
35
36 meta = with lib; {
37 description = "IERS data maintained by @astrofrog and astropy.utils.iers maintainers";
38 homepage = "https://github.com/astropy/astropy-iers-data";
39 license = licenses.bsd3;
40 maintainers = with maintainers; [ ];
41 };
42}