depot/third_party/nixpkgs/pkgs/development/python-modules/astropy-iers-data/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

41 lines
844 B
Nix

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