Files
nixpkgs/pkgs/development/python-modules/asdf-coordinates-schemas/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

49 lines
1004 B
Nix

{
lib,
asdf-standard,
asdf,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools-scm,
setuptools,
}:
buildPythonPackage rec {
pname = "asdf-coordinates-schemas";
version = "0.4.0";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "asdf-format";
repo = "asdf-coordinates-schemas";
tag = version;
hash = "sha256-ZE86W93PzKWdLrI+LNvxzrwMjOTy1fBV2AVJAaFWDMo=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
asdf
asdf-standard
];
# Circular dependency with asdf-astropy
doCheck = false;
pythonImportsCheck = [ "asdf_coordinates_schemas" ];
meta = {
description = "ASDF schemas for coordinates";
homepage = "https://github.com/asdf-format/asdf-coordinates-schemas";
changelog = "https://github.com/asdf-format/asdf-coordinates-schemas/blob/${version}/CHANGES.rst";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}