nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6 hatch-vcs,
7}:
8
9buildPythonPackage rec {
10 pname = "astropy-iers-data";
11 version = "0.2026.1.19.0.42.31";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "astropy";
16 repo = "astropy-iers-data";
17 tag = "v${version}";
18 hash = "sha256-psxVL7375xQuo6mqh+5rvv0xEuZNUOtFco1BrPPWLtg=";
19 };
20
21 build-system = [
22 hatchling
23 hatch-vcs
24 ];
25
26 pythonImportsCheck = [ "astropy_iers_data" ];
27
28 # no tests
29 doCheck = false;
30
31 meta = {
32 changelog = "https://github.com/astropy/astropy-iers-data/releases/tag/${src.tag}";
33 description = "IERS data maintained by @astrofrog and astropy.utils.iers maintainers";
34 homepage = "https://github.com/astropy/astropy-iers-data";
35 license = lib.licenses.bsd3;
36 maintainers = [ ];
37 };
38}