Files
nixpkgs/pkgs/development/python-modules/astropy-iers-data/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

38 lines
732 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
hatch-vcs,
}:
buildPythonPackage rec {
pname = "astropy-iers-data";
version = "0.2025.8.4.0.42.59";
pyproject = true;
src = fetchFromGitHub {
owner = "astropy";
repo = "astropy-iers-data";
tag = "v${version}";
hash = "sha256-Izqm626PZzjnMNUzPW2x15ER7fn5f9+m2X434vXV/yo=";
};
build-system = [
hatchling
hatch-vcs
];
pythonImportsCheck = [ "astropy_iers_data" ];
# no tests
doCheck = false;
meta = {
description = "IERS data maintained by @astrofrog and astropy.utils.iers maintainers";
homepage = "https://github.com/astropy/astropy-iers-data";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}