Files
nixpkgs/pkgs/development/python-modules/astropy-iers-data/default.nix
T

42 lines
844 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
, setuptools-scm
, wheel
}:
buildPythonPackage rec {
pname = "astropy-iers-data";
version = "0.2024.03.04.00.30.17";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "astropy";
repo = "astropy-iers-data";
rev = "refs/tags/v${version}";
hash = "sha256-BG5hQHvPqpuV2TUsD/kZv3DKx+wjods/XgZw1Z5hygg=";
};
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; [ ];
};
}